org.apache.avro.ipc
Class NettyTransportCodec.NettyDataPack

java.lang.Object
  extended by org.apache.avro.ipc.NettyTransportCodec.NettyDataPack
Enclosing class:
NettyTransportCodec

public static class NettyTransportCodec.NettyDataPack
extends Object

Transport protocol data structure when using Netty.


Constructor Summary
NettyTransportCodec.NettyDataPack()
           
NettyTransportCodec.NettyDataPack(int serial, List<ByteBuffer> datas)
           
 
Method Summary
 List<ByteBuffer> getDatas()
           
 int getSerial()
           
 void setDatas(List<ByteBuffer> datas)
           
 void setSerial(int serial)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NettyTransportCodec.NettyDataPack

public NettyTransportCodec.NettyDataPack()

NettyTransportCodec.NettyDataPack

public NettyTransportCodec.NettyDataPack(int serial,
                                         List<ByteBuffer> datas)
Method Detail

setSerial

public void setSerial(int serial)

getSerial

public int getSerial()

setDatas

public void setDatas(List<ByteBuffer> datas)

getDatas

public List<ByteBuffer> getDatas()


Copyright © 2010 The Apache Software Foundation