|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.core.message.impl.MessageImpl
public class MessageImpl
The default implementation of a message flowed through a wire during an invocation
Constructor Summary | |
---|---|
protected |
MessageImpl()
|
Method Summary | |
---|---|
Object |
getBody()
Returns the body of the message, which will be the payload or parameters associated with the wire |
MessageChannel |
getCallbackChannel()
Returns the callback channel |
Message |
getRelatedCallbackMessage()
|
TargetInvoker |
getTargetInvoker()
Sets the target invoker to dispatch to when the message passes through the request side of the invocation chain |
void |
send(Message message)
Sends a message |
void |
setBody(Object body)
Sets the body of the message. |
void |
setTargetInvoker(TargetInvoker invoker)
Sets the target invoker to dispatch to when the message passes through the request side of the invocation chain |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MessageImpl()
Method Detail |
---|
public Object getBody()
Message
getBody
in interface Message
Message.getBody()
public void setBody(Object body)
Message
setBody
in interface Message
Message.setBody(java.lang.Object)
public MessageChannel getCallbackChannel()
Message
getCallbackChannel
in interface Message
Message.getCallbackChannel()
public void send(Message message)
MessageChannel
send
in interface MessageChannel
MessageChannel.send(org.apache.tuscany.core.message.Message)
public Message getRelatedCallbackMessage()
getRelatedCallbackMessage
in interface Message
Message.getRelatedCallbackMessage()
public void setTargetInvoker(TargetInvoker invoker)
Message
setTargetInvoker
in interface Message
Message.setTargetInvoker(org.apache.tuscany.core.wire.TargetInvoker)
public TargetInvoker getTargetInvoker()
Message
getTargetInvoker
in interface Message
Message.getTargetInvoker()
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |