|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.geronimo.messaging.Msg
A message.
Msgs are Externalizable as they are sent across the wire.
Constructor Summary | |
Msg()
Creates a new Msg. |
|
Msg(Msg aPrototype)
Prototype. |
Method Summary | |
MsgBody |
getBody()
Gets the body |
MsgHeader |
getHeader()
Gets the header. |
void |
readExternal(ObjectInput in)
|
Msg |
reply()
Builds a response Msg from this Msg. |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Msg()
public Msg(Msg aPrototype)
aPrototype
- Msg to be duplicated.Method Detail |
public Msg reply()
public MsgHeader getHeader()
public MsgBody getBody()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |