ist.palcom.contingency.manager.events
Class DeviceNAEvent
java.lang.Object
ist.palcom.collections.Link
ist.palcom.palcomthreads.Event
ist.palcom.contingency.manager.events.ContingencyEvent
ist.palcom.contingency.manager.events.DeviceNAEvent
- All Implemented Interfaces:
- java.lang.Cloneable
public class DeviceNAEvent
- extends ContingencyEvent
An event dealing with the disappearance of a device.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EVENT_TYPE
public static final java.lang.String EVENT_TYPE
- See Also:
- Constant Field Values
DeviceNAEvent
public DeviceNAEvent(PalcomThread requester,
DeviceDecl device,
ServiceDeclList hostedServices,
boolean shouldKeep,
ContingencyEvent.ContingencyState state)
getDecl
public DeviceDecl getDecl()
- Overrides:
getDecl in class ContingencyEvent
setDecl
public void setDecl(DeviceDecl decl)
getInfo
public PRDDevice getInfo()
- Overrides:
getInfo in class ContingencyEvent
getEventType
public java.lang.String getEventType()
- Overrides:
getEventType in class ContingencyEvent
getHostedServices
public ServiceDeclList getHostedServices()
rebind
public void rebind(URN newURN)
- Description copied from class:
ContingencyEvent
- Rebind the event to another resource. (Used when reconnecting
the monitored assembly from the former resource to an alternate
one specified by the new urn.
- Specified by:
rebind in class ContingencyEvent
- Parameters:
newURN - - A URN of the new resource this contingency
will be monitored on.