org.apache.geronimo.remoting.transport
Class BytesMsg

java.lang.Object
  extended byorg.apache.geronimo.remoting.transport.BytesMsg
All Implemented Interfaces:
Msg
Direct Known Subclasses:
AsyncMsg

public class BytesMsg
extends Object
implements Msg

Version:
$Revision: 1.4 $ $Date: 2004/03/10 09:59:19 $

Constructor Summary
BytesMsg(TransportContext transportContext)
           
 
Method Summary
 Msg createMsg()
           
 byte[] getAsBytes()
           
 int getStackSize()
           
 MarshalledObject popMarshaledObject()
           
 void pushMarshaledObject(MarshalledObject mo)
           
 void readExternal(DataInput in)
           
 void setFromBytes(byte[] data)
           
 void writeExternal(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BytesMsg

public BytesMsg(TransportContext transportContext)
Parameters:
transportContext -
Method Detail

pushMarshaledObject

public void pushMarshaledObject(MarshalledObject mo)
                         throws IOException
Specified by:
pushMarshaledObject in interface Msg
Throws:
IOException
See Also:
Msg.pushMarshaledObject(org.apache.geronimo.remoting.MarshalledObject)

popMarshaledObject

public MarshalledObject popMarshaledObject()
                                    throws IOException
Specified by:
popMarshaledObject in interface Msg
Throws:
IOException
See Also:
Msg.popMarshaledObject()

getStackSize

public int getStackSize()

createMsg

public Msg createMsg()
Specified by:
createMsg in interface Msg
See Also:
Msg.createMsg()

writeExternal

public void writeExternal(DataOutput out)
                   throws IOException
Throws:
IOException

readExternal

public void readExternal(DataInput in)
                  throws IOException
Throws:
IOException

getAsBytes

public byte[] getAsBytes()
                  throws IOException
Throws:
IOException

setFromBytes

public void setFromBytes(byte[] data)
                  throws IOException
Throws:
IOException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.