public final class EscalationMessage extends Message
Escalation message. This message triggers a Todo escalation.
Unlike EscalationRequestMessage this message does not tell that
 there is an escalation event which can be processed by an escalation event
 catcher. It triggers the legacy escalation mechanism which produces an
 escalation signal. The signal has to be caught by a signal event catcher
 which in fact starts the escalation process.
EscalationRequestMessage, 
Serialized Form| Constructor and Description | 
|---|
| EscalationMessage(Identifier sender,
                 Identifier receiver,
                 String reason)Creates new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| String | getReason()Returns the escalation reason. | 
| int | hashCode() | 
| String | toString() | 
getReceiver, getSenderpublic EscalationMessage(Identifier sender, Identifier receiver, String reason)
sender - the senderreceiver - the receiverreason - the escalation reasonNullPointerException - if receiver is nullpublic String getReason()
public boolean equals(Object o)
equals in class CommunicationUnitpublic int hashCode()
hashCode in class CommunicationUnitCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.