public class OperationSetTypingNotificationsJabberImpl extends AbstractOperationSetTypingNotifications<ProtocolProviderServiceJabberImpl>
parentProvider
STATE_PAUSED, STATE_STALE, STATE_STOPPED, STATE_TYPING, STATE_UNKNOWN
Constructor and Description |
---|
OperationSetTypingNotificationsJabberImpl(ProtocolProviderServiceJabberImpl provider) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertConnected()
Utility method throwing an exception if the stack is not properly
initialized.
|
void |
sendTypingNotification(Contact notifiedContact,
int typingState)
Sends a notification to notifiedContatct that we have entered
typingState.
|
addTypingNotificationsListener, fireTypingNotificationsDeliveryFailedEvent, fireTypingNotificationsEvent, removeTypingNotificationsListener
OperationSetTypingNotificationsJabberImpl(ProtocolProviderServiceJabberImpl provider)
provider
- a ref to the ProtocolProviderServiceImpl
that created us and that we'll use for retrieving the underlying aim
connection.public void sendTypingNotification(Contact notifiedContact, int typingState) throws java.lang.IllegalStateException, java.lang.IllegalArgumentException
notifiedContact
- the Contact to notifytypingState
- the typing state that we have entered.java.lang.IllegalStateException
- if the underlying stack is
not registered and initialized.java.lang.IllegalArgumentException
- if notifiedContact is
not an instance belonging to the underlying implementation.protected void assertConnected() throws java.lang.IllegalStateException
assertConnected
in class AbstractOperationSetTypingNotifications<ProtocolProviderServiceJabberImpl>
java.lang.IllegalStateException
- if the underlying stack is not registered and initialized.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.