Interface Transport
-
@Deprecated public interface Transport
Deprecated.since 9.2Transport abstraction.- Since:
- 4.1
- Author:
- Mircea.Markus@jboss.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description byte[]
dumpStream()
Deprecated.void
flush()
Deprecated.SocketAddress
getRemoteSocketAddress()
Deprecated.Returns the address of the endpoint this transport is connected to, ornull
if it is unconnected.TransportFactory
getTransportFactory()
Deprecated.void
invalidate()
Deprecated.Invalidates transport instance.boolean
isBusy()
Deprecated.boolean
isValid()
Deprecated.int
read4ByteInt()
Deprecated.byte[]
readArray()
Deprecated.reads an vint which is size; then an array having that size.short
readByte()
Deprecated.void
readByteArray(byte[] buffer, int size)
Deprecated.byte[]
readByteArray(int size)
Deprecated.long
readLong()
Deprecated.String
readString()
Deprecated.int
readUnsignedShort()
Deprecated.int
readVInt()
Deprecated.long
readVLong()
Deprecated.void
release()
Deprecated.void
setBusy(boolean busy)
Deprecated.void
writeArray(byte[] toAppend)
Deprecated.void
writeArray(byte[] toAppend, int offset, int count)
Deprecated.void
writeByte(short toWrite)
Deprecated.void
writeLong(long longValue)
Deprecated.void
writeOptionalArray(byte[] toAppend)
Deprecated.void
writeOptionalString(String string)
Deprecated.void
writeSignedVInt(int toWrite)
Deprecated.void
writeString(String string)
Deprecated.void
writeVInt(int vint)
Deprecated.void
writeVLong(long l)
Deprecated.
-
-
-
Method Detail
-
getTransportFactory
TransportFactory getTransportFactory()
Deprecated.
-
writeArray
void writeArray(byte[] toAppend)
Deprecated.
-
writeArray
void writeArray(byte[] toAppend, int offset, int count)
Deprecated.
-
writeOptionalArray
void writeOptionalArray(byte[] toAppend)
Deprecated.
-
writeByte
void writeByte(short toWrite)
Deprecated.
-
writeVInt
void writeVInt(int vint)
Deprecated.
-
writeSignedVInt
void writeSignedVInt(int toWrite)
Deprecated.
-
writeVLong
void writeVLong(long l)
Deprecated.
-
readVLong
long readVLong()
Deprecated.
-
readVInt
int readVInt()
Deprecated.
-
flush
void flush()
Deprecated.
-
readByte
short readByte()
Deprecated.
-
release
void release()
Deprecated.
-
readArray
byte[] readArray()
Deprecated.reads an vint which is size; then an array having that size.
-
readString
String readString()
Deprecated.
-
readByteArray
void readByteArray(byte[] buffer, int size)
Deprecated.
-
readByteArray
byte[] readByteArray(int size)
Deprecated.
-
readLong
long readLong()
Deprecated.
-
writeLong
void writeLong(long longValue)
Deprecated.
-
readUnsignedShort
int readUnsignedShort()
Deprecated.
-
read4ByteInt
int read4ByteInt()
Deprecated.
-
writeString
void writeString(String string)
Deprecated.
-
writeOptionalString
void writeOptionalString(String string)
Deprecated.
-
dumpStream
byte[] dumpStream()
Deprecated.
-
getRemoteSocketAddress
SocketAddress getRemoteSocketAddress()
Deprecated.Returns the address of the endpoint this transport is connected to, ornull
if it is unconnected.- Returns:
- a
SocketAddress
reprensenting the remote endpoint of this transport, ornull
if it is not connected yet.
-
invalidate
void invalidate()
Deprecated.Invalidates transport instance.
-
isValid
boolean isValid()
Deprecated.
-
setBusy
void setBusy(boolean busy)
Deprecated.
-
isBusy
boolean isBusy()
Deprecated.
-
-