org.infinispan.client.hotrod.impl.transport.tcp
Class TcpTransport

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

public class TcpTransport
extends AbstractTransport

// TODO: Document this

Since:
4.1
Author:
mmarkus

Constructor Summary
TcpTransport(InetSocketAddress serverAddress)
           
 
Method Summary
 void destroy()
           
 boolean equals(Object o)
           
 void flush()
           
 InetSocketAddress getServerAddress()
           
 int hashCode()
           
 short readByte()
           
 byte[] readByteArray(int size)
           
 int readVInt()
           
 long readVLong()
           
 void release()
           
 String toString()
           
 void writeByte(short toWrite)
           
protected  void writeBytes(byte[] toAppend)
           
 void writeVInt(int vInt)
           
 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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TcpTransport

public TcpTransport(InetSocketAddress serverAddress)
Method Detail

writeVInt

public void writeVInt(int vInt)

writeVLong

public void writeVLong(long l)

readVLong

public long readVLong()

readVInt

public int readVInt()

writeBytes

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

writeByte

public void writeByte(short toWrite)

flush

public void flush()

readByte

public short readByte()

release

public void release()

readByteArray

public byte[] readByteArray(int size)

getServerAddress

public InetSocketAddress getServerAddress()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

destroy

public void destroy()

Google Analytics

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