public class OperationSetMessageWaitingSipImpl extends java.lang.Object implements OperationSetMessageWaiting, RegistrationStateChangeListener
OperationSetMessageWaiting.MessageType
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
EVENT_PACKAGE
The name of the event package supported by
OperationSetMessageWaitingSipImpl in SUBSCRIBE
and NOTIFY requests.
|
Constructor and Description |
---|
OperationSetMessageWaitingSipImpl(ProtocolProviderServiceSipImpl provider)
Creates this operation set.
|
Modifier and Type | Method and Description |
---|---|
void |
addMessageWaitingNotificationListener(OperationSetMessageWaiting.MessageType type,
MessageWaitingListener listener)
Registers a MessageWaitingListener with this
operation set so that it gets notifications of new and old
messages waiting.
|
void |
registrationStateChanged(RegistrationStateChangeEvent evt)
The method is called by a
ProtocolProviderService
implementation whenever a change in the registration state of the
corresponding provider had occurred. |
void |
removeMessageWaitingNotificationListener(OperationSetMessageWaiting.MessageType type,
MessageWaitingListener listener)
Unregisters listener so that it won't receive any further
notifications upon new messages waiting notifications delivery.
|
(package private) void |
shutdown()
Frees allocated resources.
|
static final java.lang.String EVENT_PACKAGE
OperationSetMessageWaitingSipImpl(ProtocolProviderServiceSipImpl provider)
provider
- public void addMessageWaitingNotificationListener(OperationSetMessageWaiting.MessageType type, MessageWaitingListener listener)
addMessageWaitingNotificationListener
in interface OperationSetMessageWaiting
type
- register the listener for certain type of messages.listener
- the MessageWaitingListener
to register.public void removeMessageWaitingNotificationListener(OperationSetMessageWaiting.MessageType type, MessageWaitingListener listener)
removeMessageWaitingNotificationListener
in interface OperationSetMessageWaiting
type
- register the listener for certain type of messages.listener
- the MessageWaitingListener
to unregister.public void registrationStateChanged(RegistrationStateChangeEvent evt)
ProtocolProviderService
implementation whenever a change in the registration state of the
corresponding provider had occurred.registrationStateChanged
in interface RegistrationStateChangeListener
evt
- the event describing the status change.void shutdown()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.