public class SubscriptionAdapter extends java.lang.Object implements SubscriptionListener
SubscriptionListener
which performs no processing of the received events and allows extenders to
easily implement the interface in question by just overriding the methods
they are interested in.Constructor and Description |
---|
SubscriptionAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
contactModified(ContactPropertyChangeEvent evt)
Indicates that the source contact has had one of its properties changed.
|
void |
subscriptionCreated(SubscriptionEvent evt)
Indicates that a subscription has been successfully created and accepted
by the remote party.
|
void |
subscriptionFailed(SubscriptionEvent evt)
Indicates that a subscription has failed and/or was not accepted by the
remote party.
|
void |
subscriptionMoved(SubscriptionMovedEvent evt)
Indicates that a contact/subscription has been moved from one server
stored group to another.
|
void |
subscriptionRemoved(SubscriptionEvent evt)
Indicates that a subscription has been successfully removed and that
the remote party has acknowledged its removal.
|
void |
subscriptionResolved(SubscriptionEvent evt)
Indicates that a subscription has been successfully resolved and that
the server has acknowledged taking it into account.
|
public void contactModified(ContactPropertyChangeEvent evt)
SubscriptionListener
contactModified
in interface SubscriptionListener
evt
- the ContactPropertyChangeEvent containing the source
contact and the old and new values of the changed property.public void subscriptionCreated(SubscriptionEvent evt)
SubscriptionListener
subscriptionCreated
in interface SubscriptionListener
evt
- the SubscriptionEvent containing the corresponding contactpublic void subscriptionFailed(SubscriptionEvent evt)
SubscriptionListener
subscriptionFailed
in interface SubscriptionListener
evt
- the SubscriptionEvent containing the corresponding contactpublic void subscriptionMoved(SubscriptionMovedEvent evt)
SubscriptionListener
subscriptionMoved
in interface SubscriptionListener
evt
- a reference to the SubscriptionMovedEvent containing previous
and new parents as well as a ref to the source contact.public void subscriptionRemoved(SubscriptionEvent evt)
SubscriptionListener
subscriptionRemoved
in interface SubscriptionListener
evt
- the SubscriptionEvent containing the corresponding contactpublic void subscriptionResolved(SubscriptionEvent evt)
SubscriptionListener
subscriptionResolved
in interface SubscriptionListener
evt
- the SubscriptionEvent containing the source contact
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.