public class ProviderPresenceStatusChangeEvent
extends java.beans.PropertyChangeEvent
Constructor and Description |
---|
ProviderPresenceStatusChangeEvent(ProtocolProviderService source,
PresenceStatus oldValue,
PresenceStatus newValue)
Creates an event instance indicating a change of the property
specified by eventType from oldValue to
newValue.
|
Modifier and Type | Method and Description |
---|---|
PresenceStatus |
getNewStatus()
Returns the status of the provider after this event took place.
|
PresenceStatus |
getOldStatus()
Returns the status of the provider before this event took place.
|
ProtocolProviderService |
getProvider()
Returns the provider that has genereted this event
|
java.lang.String |
toString()
Returns a String representation of this ProviderPresenceStatusChangeEvent
|
public ProviderPresenceStatusChangeEvent(ProtocolProviderService source, PresenceStatus oldValue, PresenceStatus newValue)
source
- the provider that generated the eventoldValue
- the status the source provider was int before enetering
the new state.newValue
- the status the source provider is currently in.public ProtocolProviderService getProvider()
public PresenceStatus getOldStatus()
public PresenceStatus getNewStatus()
public java.lang.String toString()
toString
in class java.beans.PropertyChangeEvent
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.