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,
java.lang.String reason)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getReason()
Returns the escalation reason.
|
int |
hashCode() |
java.lang.String |
toString() |
getReceiver, getSenderpublic EscalationMessage(Identifier sender, Identifier receiver, java.lang.String reason)
sender - the senderreceiver - the receiverreason - the escalation reasonjava.lang.NullPointerException - if receiver is nullpublic java.lang.String getReason()
public boolean equals(java.lang.Object o)
equals in class CommunicationUnitpublic int hashCode()
hashCode in class CommunicationUnitpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.