public interface OperationSetGenericNotifications extends OperationSet
Modifier and Type | Method and Description |
---|---|
void |
addGenericEventListener(java.lang.String eventName,
GenericEventListener listener)
Registers a GenericEventListener with this
operation set so that it gets notifications for new
event notifications.
|
void |
notifyForEvent(Contact contact,
java.lang.String eventName,
java.lang.String eventValue)
Generates new generic event notification and send it to the
supplied contact.
|
void |
notifyForEvent(java.lang.String jid,
java.lang.String eventName,
java.lang.String eventValue)
Generates new generic event notification and send it to the
supplied contact.
|
void |
notifyForEvent(java.lang.String jid,
java.lang.String eventName,
java.lang.String eventValue,
java.lang.String source)
Generates new generic event notification and send it to the
supplied contact.
|
void |
removeGenericEventListener(java.lang.String eventName,
GenericEventListener listener)
Unregisters listener so that it won't receive any further
notifications upon new event notifications.
|
void notifyForEvent(Contact contact, java.lang.String eventName, java.lang.String eventValue)
contact
- the contact to receive the event notification.eventName
- the event name of the notification.eventValue
- the event value of the notification.void notifyForEvent(java.lang.String jid, java.lang.String eventName, java.lang.String eventValue)
jid
- the contact jid which will receive the event notification.eventName
- the event name of the notification.eventValue
- the event value of the notification.void notifyForEvent(java.lang.String jid, java.lang.String eventName, java.lang.String eventValue, java.lang.String source)
jid
- the contact jid which will receive the event notification.eventName
- the event name of the notification.eventValue
- the event value of the notification.source
- the source that will be reported in the event.void addGenericEventListener(java.lang.String eventName, GenericEventListener listener)
eventName
- register the listener for certain event name.listener
- the GenericEventListener
to register.void removeGenericEventListener(java.lang.String eventName, GenericEventListener listener)
eventName
- unregister the listener for certain event name.listener
- the GenericEventListener
to unregister.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.