net.java.sip.communicator.impl.protocol.msn
Class OperationSetTypingNotificationsMsnImpl
java.lang.Object
net.java.sip.communicator.service.protocol.AbstractOperationSetTypingNotifications<ProtocolProviderServiceMsnImpl>
net.java.sip.communicator.impl.protocol.msn.OperationSetTypingNotificationsMsnImpl
- All Implemented Interfaces:
- OperationSet, OperationSetTypingNotifications
public class OperationSetTypingNotificationsMsnImpl
- extends AbstractOperationSetTypingNotifications<ProtocolProviderServiceMsnImpl>
Maps SIP Communicator typing notifications to those going and coming from
smack lib.
- Author:
- Damian Minkov
|
Method Summary |
void |
sendTypingNotification(Contact notifiedContact,
int typingState)
Sends a notification to notifiedContatct that we have entered
typingState. |
(package private) void |
setMessenger(net.sf.jml.MsnMessenger messenger)
Sets the messenger instance impl of the lib which communicates with the
server |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationSetTypingNotificationsMsnImpl
OperationSetTypingNotificationsMsnImpl(ProtocolProviderServiceMsnImpl provider)
- Parameters:
provider - a ref to the ProtocolProviderServiceImpl
that created us and that we'll use for retrieving the underlying aim
connection.
sendTypingNotification
public void sendTypingNotification(Contact notifiedContact,
int typingState)
throws IllegalStateException,
IllegalArgumentException
- Sends a notification to notifiedContatct that we have entered
typingState.
- Parameters:
notifiedContact - the Contact to notifytypingState - the typing state that we have entered.
- Throws:
IllegalStateException - if the underlying stack is
not registered and initialized.
IllegalArgumentException - if notifiedContact is
not an instance belonging to the underlying implementation.
setMessenger
void setMessenger(net.sf.jml.MsnMessenger messenger)
- Sets the messenger instance impl of the lib which communicates with the
server
- Parameters:
messenger - MsnMessenger
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.