org.infinispan.client.hotrod.impl.transport.netty
Class NettyTransport

java.lang.Object
  extended by org.infinispan.client.hotrod.impl.transport.AbstractTransport
      extended by org.infinispan.client.hotrod.impl.transport.netty.NettyTransport
All Implemented Interfaces:
Transport

public class NettyTransport
extends AbstractTransport

// TODO: Document this

Since:
4.1
Author:
Mircea.Markus@jboss.com

Constructor Summary
NettyTransport(InetSocketAddress serverAddress)
           
 
Method Summary
 void flush()
           
 short readByte()
           
 byte[] readByteArray(int size)
           
 int readVInt()
           
 long readVLong()
           
 void release()
           
 void writeByte(short toWrite)
           
protected  void writeBytes(byte[] toAppend)
           
 void writeVInt(int length)
           
 void writeVLong(long l)
           
 
Methods inherited from class org.infinispan.client.hotrod.impl.transport.AbstractTransport
read4ByteInt, readArray, readLong, readString, readUnsignedShort, writeArray, writeLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NettyTransport

public NettyTransport(InetSocketAddress serverAddress)
Method Detail

writeBytes

protected void writeBytes(byte[] toAppend)
Specified by:
writeBytes in class AbstractTransport

writeByte

public void writeByte(short toWrite)

writeVInt

public void writeVInt(int length)

writeVLong

public void writeVLong(long l)

flush

public void flush()

readVLong

public long readVLong()

readVInt

public int readVInt()

readByte

public short readByte()

release

public void release()

readByteArray

public byte[] readByteArray(int size)

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.