|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dist1.acb.common.transport.Packet dist1.acb.common.transport.Response dist1.acb.common.transport.ResponseWithStringMessage
Response with implemented StringMessage interface
Constructor Summary | |
ResponseWithStringMessage(Request request,
java.lang.String msg)
Creates a new ResponseWithStringMessage object. |
Method Summary | |
java.lang.String |
getMsg()
Getter for property msg. |
void |
setMsg(java.lang.String msg)
Setter for property msg. |
java.lang.String |
toString()
Returns string representation of the object |
Methods inherited from class dist1.acb.common.transport.Packet |
equals, getId |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ResponseWithStringMessage(Request request, java.lang.String msg)
request
- The response will be created for this request (it will
inherit the id). If request is null the id will be zero.msg
- A messageMethod Detail |
public void setMsg(java.lang.String msg)
setMsg
in interface StringMessage
msg
- New value of property msg.public java.lang.String getMsg()
getMsg
in interface StringMessage
public java.lang.String toString()
toString
in class Packet
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |