|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.protocol.Message
net.sf.xbus.protocol.simple.SimpleObjectMessage
public class SimpleObjectMessage
| Constructor Summary | |
|---|---|
SimpleObjectMessage(java.lang.String function,
XBUSSystem source,
java.lang.String id)
This constructor initializes the new SimpleObjectMessage
with the given parameters. |
|
SimpleObjectMessage(XBUSSystem source)
Creates the SimpleObjectMessage with the given source. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getRequestObject(XBUSSystem source)
Gets the object from an incomimg message. |
java.lang.Object |
getResponseObject()
Gets the object of the outgoing message. |
void |
setRequestObject(java.lang.Object obj,
XBUSSystem source)
Sets the object from an incomimg message. |
void |
setResponseObject(java.lang.Object obj,
XBUSSystem destination)
Sets the object of the outgoing message. |
| Methods inherited from class net.sf.xbus.protocol.Message |
|---|
getErrorcode, getErrortext, getFunction, getId, getRequestTimestamp, getResponseTimestamp, getReturncode, getShortname, getSource, setErrorcode, setErrortext, setFunction, setId, setResponseTimestamp, setReturncode, setShortname |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleObjectMessage(XBUSSystem source)
SimpleObjectMessage with the given source.
public SimpleObjectMessage(java.lang.String function,
XBUSSystem source,
java.lang.String id)
SimpleObjectMessage
with the given parameters. It is used when constructing a new
SimpleObjectMessage by converting it from another
Message.
| Method Detail |
|---|
public void setRequestObject(java.lang.Object obj,
XBUSSystem source)
ObjectMessage
setRequestObject in interface ObjectMessageobj - the content of the requestsource - system where the request is coming fromObjectMessage.setRequestObject(java.lang.Object,
net.sf.xbus.base.xbussystem.XBUSSystem)
public void setResponseObject(java.lang.Object obj,
XBUSSystem destination)
ObjectMessage
setResponseObject in interface ObjectMessageobj - the content of the responsedestination - system where the response is coming fromObjectMessage.setResponseObject(java.lang.Object,
net.sf.xbus.base.xbussystem.XBUSSystem)public java.lang.Object getRequestObject(XBUSSystem source)
ObjectMessage
getRequestObject in interface ObjectMessagesource - reference to the system for which the message is meant
ObjectMessage.getRequestObject(net.sf.xbus.base.xbussystem.XBUSSystem)public java.lang.Object getResponseObject()
ObjectMessage
getResponseObject in interface ObjectMessageObjectMessage.getResponseObject()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||