net.java.sip.communicator.service.protocol
Class AbstractOperationSetServerStoredAccountInfo
java.lang.Object
net.java.sip.communicator.service.protocol.AbstractOperationSetServerStoredAccountInfo
- All Implemented Interfaces:
- OperationSet, OperationSetServerStoredAccountInfo
- Direct Known Subclasses:
- OperationSetServerStoredAccountInfoIcqImpl, OperationSetServerStoredAccountInfoJabberImpl, OperationSetServerStoredAccountInfoMsnImpl, OperationSetServerStoredAccountInfoSipImpl
public abstract class AbstractOperationSetServerStoredAccountInfo
- extends Object
- implements OperationSetServerStoredAccountInfo
Represents a default implementation of
OperationSetServerStoredAccountInfo in order to make it easier for
implementers to provide complete solutions while focusing on
implementation-specific details.
- Author:
- Damian Minkov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOperationSetServerStoredAccountInfo
public AbstractOperationSetServerStoredAccountInfo()
addServerStoredDetailsChangeListener
public void addServerStoredDetailsChangeListener(ServerStoredDetailsChangeListener listener)
- Registers a ServerStoredDetailsChangeListener with this operation set so
that it gets notifications of details change.
- Specified by:
addServerStoredDetailsChangeListener in interface OperationSetServerStoredAccountInfo
- Parameters:
listener - the ServerStoredDetailsChangeListener
to register.
removeServerStoredDetailsChangeListener
public void removeServerStoredDetailsChangeListener(ServerStoredDetailsChangeListener listener)
- Unregisters listener so that it won't receive any further
notifications upon details change.
- Specified by:
removeServerStoredDetailsChangeListener in interface OperationSetServerStoredAccountInfo
- Parameters:
listener - the ServerStoredDetailsChangeListener
to unregister.
fireServerStoredDetailsChangeEvent
public void fireServerStoredDetailsChangeEvent(ProtocolProviderService source,
int eventID,
Object oldValue,
Object newValue)
- Notify all listeners of the corresponding account detail
change event.
- Parameters:
source - the protocol provider service sourceeventID - the int ID of the event to dispatcholdValue - the value that the changed property had before the change
occurred.newValue - the value that the changed property currently has (after
the change has occurred).
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.