Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol
Interface OperationSetMessageWaiting

All Superinterfaces:
OperationSet
All Known Implementing Classes:
OperationSetMessageWaitingSipImpl

public interface OperationSetMessageWaiting
extends OperationSet

Provides notifications for message waiting notifications.

Author:
Damian Minkov

Nested Class Summary
static class OperationSetMessageWaiting.MessageType
          Message waiting types.
 
Method Summary
 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 removeMessageWaitingNotificationListener(OperationSetMessageWaiting.MessageType type, MessageWaitingListener listener)
          Unregisters listener so that it won't receive any further notifications upon new messages waiting notifications delivery.
 

Method Detail

addMessageWaitingNotificationListener

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.

Parameters:
type - register the listener for certain type of messages.
listener - the MessageWaitingListener to register.

removeMessageWaitingNotificationListener

void removeMessageWaitingNotificationListener(OperationSetMessageWaiting.MessageType type,
                                              MessageWaitingListener listener)
Unregisters listener so that it won't receive any further notifications upon new messages waiting notifications delivery.

Parameters:
type - register the listener for certain type of messages.
listener - the MessageWaitingListener to unregister.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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