org.infinispan.client.hotrod.impl.transport
Interface Transport
- All Known Implementing Classes:
- AbstractTransport, TcpTransport
public interface Transport
Transport abstraction.
- Since:
- 4.1
- Author:
- Mircea.Markus@jboss.com
getTransportFactory
TransportFactory getTransportFactory()
writeArray
void writeArray(byte[] toAppend)
writeByte
void writeByte(short toWrite)
writeVInt
void writeVInt(int vint)
writeVLong
void writeVLong(long l)
readVLong
long readVLong()
readVInt
int readVInt()
flush
void flush()
readByte
short readByte()
release
void release()
readArray
byte[] readArray()
- reads an vint which is size; then an array having that size.
readString
String readString()
readByteArray
byte[] readByteArray(int size)
readLong
long readLong()
writeLong
void writeLong(long longValue)
readUnsignedShort
int readUnsignedShort()
read4ByteInt
int read4ByteInt()
writeString
void writeString(String string)
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.