|
Cumulus4j API (1.0.1) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cumulus4j.keymanager.back.shared.Message
public abstract class Message
Base-type for Request
and Response
.
There should not be any other direct sub-classes of this class besides Request
and
Response
.
We implement a
request-response
messaging-pattern,
hence for every Request
instance,
there must be exactly one Response
instance. Both are identified
by the requestID
Constructor Summary | |
---|---|
Message()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getRequestID()
Get the request-identifier. |
int |
hashCode()
|
void |
setRequestID(String requestID)
Set the request-identifier. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Message()
Method Detail |
---|
public String getRequestID()
Response
belongs
to a Request
in a 1-1-relationship, both use the same requestID
.
setRequestID(String)
public void setRequestID(String requestID)
requestID
- the identifier of the request.getRequestID()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
Cumulus4j API (1.0.1) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |