ist.palcom.contingency.manager.events
Class ServiceNAEvent
java.lang.Object
ist.palcom.collections.Link
ist.palcom.palcomthreads.Event
ist.palcom.contingency.manager.events.ContingencyEvent
ist.palcom.contingency.manager.events.ServiceNAEvent
- All Implemented Interfaces:
- java.lang.Cloneable
public class ServiceNAEvent
- extends ContingencyEvent
An event dealing with the disappearance of a service.
| 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
ServiceNAEvent
public ServiceNAEvent(PalcomThread requester,
URN serviceURN,
ServiceDecl service,
boolean shouldKeep,
ContingencyEvent.ContingencyState state)
getDecl
public ServiceDecl getDecl()
- Overrides:
getDecl in class ContingencyEvent
setDecl
public void setDecl(URN deviceURN,
ServiceDecl service)
getInfo
public PRDService getInfo()
- Overrides:
getInfo in class ContingencyEvent
getEventType
public java.lang.String getEventType()
- Overrides:
getEventType in class ContingencyEvent
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.