org.iperg.part.core
Class IpSubscriptionEvent

java.lang.Object
  extended by org.iperg.part.core.IpEvent
      extended by org.iperg.part.core.IpSubscriptionEvent

public class IpSubscriptionEvent
extends IpEvent

IpSubscriptionEvent events are generated when the subscription status of object subscribed by the local process changes.

Version:
1.0.0 Initial version
Author:
Olov Stahl - olovs@sics.se

Field Summary
static java.lang.String SUBSCRIPTION_CANCEL
          Event sub-type that means that the master has cancelled a subscription to a local object and property, made by a remote process.
static java.lang.String SUBSCRIPTION_CONFIRM
          Event sub-type that means that the local subscription of properties of a object has been confirmed by the process holding the master copy.
static java.lang.String SUBSCRIPTION_TIMEOUT
          Event sub-type that means that the local subscription of properties of a object has not been confirmed by the process holding the master copy in a long time.
 
Method Summary
 IpObject getObject()
          Get the object that the event concerns
 
Methods inherited from class org.iperg.part.core.IpEvent
getDestination, getType, read, setDestination, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUBSCRIPTION_CONFIRM

public static final java.lang.String SUBSCRIPTION_CONFIRM
Event sub-type that means that the local subscription of properties of a object has been confirmed by the process holding the master copy.

See Also:
Constant Field Values

SUBSCRIPTION_TIMEOUT

public static final java.lang.String SUBSCRIPTION_TIMEOUT
Event sub-type that means that the local subscription of properties of a object has not been confirmed by the process holding the master copy in a long time. May indicate some networking problems.

See Also:
Constant Field Values

SUBSCRIPTION_CANCEL

public static final java.lang.String SUBSCRIPTION_CANCEL
Event sub-type that means that the master has cancelled a subscription to a local object and property, made by a remote process. The cause of the cancellation is that the remote processes has not renewed the subscription within a certain time.

See Also:
Constant Field Values
Method Detail

getObject

public IpObject getObject()
Get the object that the event concerns

Returns:
The object whose properties (on or more) are subscribed by the local process