|
|||||||||
| 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.EmptyMessage
public class EmptyMessage
EmptyMessage is a message with content null,
which is compatible with all message types (text, object, XML).
| Constructor Summary | |
|---|---|
EmptyMessage(java.lang.String function,
XBUSSystem source,
java.lang.String id)
|
|
EmptyMessage(XBUSSystem source)
|
|
| Method Summary | |
|---|---|
org.w3c.dom.Document |
getRequestDocument(XBUSSystem system)
Getting the resquest document always returns null. |
java.lang.Object |
getRequestObject(XBUSSystem system)
Getting the response object always returns null. |
java.lang.String |
getRequestText(XBUSSystem system)
Getting the request text always returns null. |
org.w3c.dom.Document |
getResponseDocument()
Getting the response document always returns null. |
java.lang.Object |
getResponseObject()
Getting the response object always returns null. |
java.lang.String |
getResponseText()
Getting the response text always returns null. |
void |
setRequestDocument(org.w3c.dom.Document doc,
XBUSSystem source)
Setting the request document just does nothing. |
void |
setRequestObject(java.lang.Object obj,
XBUSSystem source)
Setting the request object just does nothing. |
void |
setRequestText(java.lang.String text,
XBUSSystem source)
Setting the request text just does nothing. |
void |
setResponseDocument(org.w3c.dom.Document doc,
XBUSSystem destination)
Setting the response document just does nothing. |
void |
setResponseObject(java.lang.Object obj,
XBUSSystem destination)
Setting the response object just does nothing. |
void |
setResponseText(java.lang.String text,
XBUSSystem destination)
Setting the response text just does nothing. |
| 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 EmptyMessage(XBUSSystem source)
Message
public EmptyMessage(java.lang.String function,
XBUSSystem source,
java.lang.String id)
Message| Method Detail |
|---|
public void setRequestText(java.lang.String text,
XBUSSystem source)
EmptyMessage
is not intended to have any content.
setRequestText in interface TextMessagetext - the content of the requestsource - system where the request is coming fromTextMessage.setRequestText(java.lang.String,
net.sf.xbus.base.xbussystem.XBUSSystem)
public void setResponseText(java.lang.String text,
XBUSSystem destination)
EmptyMessage is not intended to have any content.
setResponseText in interface TextMessagetext - the content of the responsedestination - system where the response is coming fromTextMessage.setResponseText(java.lang.String,
net.sf.xbus.base.xbussystem.XBUSSystem)public java.lang.String getRequestText(XBUSSystem system)
null. The
EmptyMessage is not intended to have any content.
getRequestText in interface TextMessagesystem - reference to the system for which the message is meant
TextMessage.getRequestText(net.sf.xbus.base.xbussystem.XBUSSystem)public java.lang.String getResponseText()
null. The
EmptyMessage is not intended to have any content.
getResponseText in interface TextMessageTextMessage.getResponseText()
public void setRequestObject(java.lang.Object obj,
XBUSSystem source)
EmptyMessage is not intended to have any content.
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)
EmptyMessage is not intended to have any content.
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 system)
null. The
EmptyMessage is not intended to have any content.
getRequestObject in interface ObjectMessagesystem - reference to the system for which the message is meant
ObjectMessage.getRequestObject(net.sf.xbus.base.xbussystem.XBUSSystem)public java.lang.Object getResponseObject()
null. The
EmptyMessage is not intended to have any content.
getResponseObject in interface ObjectMessageObjectMessage.getResponseObject()public org.w3c.dom.Document getRequestDocument(XBUSSystem system)
null. The
EmptyMessage is not intended to have any content.
getRequestDocument in interface XMLMessagesystem - reference to the system for which the message is meant
XMLMessage.getRequestDocument(
net.sf.xbus.base.xbussystem.XBUSSystem)
public void setRequestDocument(org.w3c.dom.Document doc,
XBUSSystem source)
EmptyMessage is not intended to have any content.
setRequestDocument in interface XMLMessagedoc - the content of the requestsource - system where the request is coming fromXMLMessage.setRequestDocument(org.w3c.dom.Document,
net.sf.xbus.base.xbussystem.XBUSSystem)public org.w3c.dom.Document getResponseDocument()
null. The
EmptyMessage is not intended to have any content.
getResponseDocument in interface XMLMessageXMLMessage.getResponseDocument()
public void setResponseDocument(org.w3c.dom.Document doc,
XBUSSystem destination)
EmptyMessage is not intended to have any content.
setResponseDocument in interface XMLMessagedoc - the content of the responsedestination - system where the response is coming fromXMLMessage.setResponseDocument(org.w3c.dom.Document,
net.sf.xbus.base.xbussystem.XBUSSystem)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||