org.apache.geronimo.gshell.whisper.protocol
Interface ProtocolWireFormat


public interface ProtocolWireFormat

???

Version:
$Rev: 579828 $ $Date: 2007-09-26 15:15:42 -0700 (Wed, 26 Sep 2007) $

Nested Class Summary
static interface ProtocolWireFormat.Factory
           
 
Method Summary
 int getVersion()
           
 void marshal(DataOutput out, Message message)
           
 org.apache.mina.common.ByteBuffer marshal(Message message)
           
 void setVersion(int version)
           
 Message unmarshal(org.apache.mina.common.ByteBuffer buffer)
           
 Message unmarshal(DataInput in)
           
 

Method Detail

setVersion

void setVersion(int version)

getVersion

int getVersion()

marshal

void marshal(DataOutput out,
             Message message)
             throws IOException
Throws:
IOException

unmarshal

Message unmarshal(DataInput in)
                  throws IOException
Throws:
IOException

marshal

org.apache.mina.common.ByteBuffer marshal(Message message)
                                          throws IOException
Throws:
IOException

unmarshal

Message unmarshal(org.apache.mina.common.ByteBuffer buffer)
                  throws IOException
Throws:
IOException


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