SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol.event
Class AccountManagerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.java.sip.communicator.service.protocol.event.AccountManagerEvent
All Implemented Interfaces:
Serializable

public class AccountManagerEvent
extends EventObject

Represents a notifying event fired by a specific AccountManager.

Author:
Lubomir Marinov
See Also:
Serialized Form

Field Summary
static int STORED_ACCOUNTS_LOADED
          The type of event notifying that the loading of the stored accounts of a specific ProtocolProviderFactory has finished.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AccountManagerEvent(AccountManager accountManager, int type, ProtocolProviderFactory factory)
          Initializes a new AccountManagerEvent instance fired by a specific AccountManager in order to notify of an event of a specific type occurring while working on a specific ProtocolProviderFactory.
 
Method Summary
 ProtocolProviderFactory getFactory()
          Gets the ProtocolProviderFactory being worked on at the time this event has been fired.
 int getType()
          Gets the (detail) type of this event which is one of STORED_ACCOUNTS_LOADED.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STORED_ACCOUNTS_LOADED

public static final int STORED_ACCOUNTS_LOADED
The type of event notifying that the loading of the stored accounts of a specific ProtocolProviderFactory has finished.

See Also:
Constant Field Values
Constructor Detail

AccountManagerEvent

public AccountManagerEvent(AccountManager accountManager,
                           int type,
                           ProtocolProviderFactory factory)
Initializes a new AccountManagerEvent instance fired by a specific AccountManager in order to notify of an event of a specific type occurring while working on a specific ProtocolProviderFactory.

Parameters:
accountManager - the AccountManager issuing the notification i.e. the source of the event
type -
factory - the ProtocolProviderFactory being worked on at the time this event has been fired
Method Detail

getFactory

public ProtocolProviderFactory getFactory()
Gets the ProtocolProviderFactory being worked on at the time this event has been fired.

Returns:
the ProtocolProviderFactory being worked on at the time this event has been fired

getType

public int getType()
Gets the (detail) type of this event which is one of STORED_ACCOUNTS_LOADED.

Returns:
the (detail) type of this event which is one of STORED_ACCOUNTS_LOADED

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.