
public abstract class OChannelBinary extends OChannel implements OChannelDataInput, OChannelDataOutput
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
debug |
DataInputStream |
in |
DataOutputStream |
out |
| Constructor and Description |
|---|
OChannelBinary(Socket iSocket,
OContextConfiguration iConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearInput() |
void |
close() |
void |
flush() |
DataInputStream |
getDataInput() |
DataOutputStream |
getDataOutput() |
boolean |
readBoolean() |
byte |
readByte() |
byte[] |
readBytes() |
int |
readInt() |
long |
readLong() |
ORecordId |
readRID() |
short |
readShort() |
String |
readString() |
int |
readVersion() |
void |
setReadRequestTimeout() |
void |
setWaitRequestTimeout() |
void |
setWaitResponseTimeout() |
OChannelBinary |
writeBoolean(boolean iContent) |
OChannelBinary |
writeByte(byte iContent) |
OChannelBinary |
writeBytes(byte[] iContent) |
OChannelBinary |
writeBytes(byte[] iContent,
int iLength) |
OChannelBinary |
writeInt(int iContent) |
OChannelBinary |
writeLong(long iContent) |
void |
writeRID(ORID iRID) |
OChannelBinary |
writeShort(short iContent) |
OChannelBinary |
writeString(String iContent) |
void |
writeVersion(int version) |
acquireReadLock, acquireWriteLock, connected, getLocalIpAddress, getLocalSocketAddress, getLockRead, getLockWrite, releaseReadLock, releaseWriteLock, toString, tryAcquireWriteLock, updateMetricFlushes, updateMetricReceivedBytes, updateMetricTransmittedBytesbrowseListeners, getListenersCopy, registerListener, resetListeners, unregisterListenerprotected final boolean debug
public DataInputStream in
public DataOutputStream out
public OChannelBinary(Socket iSocket, OContextConfiguration iConfig) throws IOException
IOExceptionpublic byte readByte()
throws IOException
readByte in interface OChannelDataInputIOExceptionpublic boolean readBoolean()
throws IOException
readBoolean in interface OChannelDataInputIOExceptionpublic int readInt()
throws IOException
readInt in interface OChannelDataInputIOExceptionpublic long readLong()
throws IOException
readLong in interface OChannelDataInputIOExceptionpublic short readShort()
throws IOException
readShort in interface OChannelDataInputIOExceptionpublic String readString() throws IOException
readString in interface OChannelDataInputIOExceptionpublic byte[] readBytes()
throws IOException
readBytes in interface OChannelDataInputIOExceptionpublic ORecordId readRID() throws IOException
readRID in interface OChannelDataInputIOExceptionpublic int readVersion()
throws IOException
readVersion in interface OChannelDataInputIOExceptionpublic OChannelBinary writeByte(byte iContent) throws IOException
writeByte in interface OChannelDataOutputIOExceptionpublic OChannelBinary writeBoolean(boolean iContent) throws IOException
writeBoolean in interface OChannelDataOutputIOExceptionpublic OChannelBinary writeInt(int iContent) throws IOException
writeInt in interface OChannelDataOutputIOExceptionpublic OChannelBinary writeLong(long iContent) throws IOException
writeLong in interface OChannelDataOutputIOExceptionpublic OChannelBinary writeShort(short iContent) throws IOException
writeShort in interface OChannelDataOutputIOExceptionpublic OChannelBinary writeString(String iContent) throws IOException
writeString in interface OChannelDataOutputIOExceptionpublic OChannelBinary writeBytes(byte[] iContent) throws IOException
writeBytes in interface OChannelDataOutputIOExceptionpublic OChannelBinary writeBytes(byte[] iContent, int iLength) throws IOException
writeBytes in interface OChannelDataOutputIOExceptionpublic void writeRID(ORID iRID) throws IOException
writeRID in interface OChannelDataOutputIOExceptionpublic void writeVersion(int version)
throws IOException
writeVersion in interface OChannelDataOutputIOExceptionpublic void clearInput()
throws IOException
IOExceptionpublic void flush()
throws IOException
flush in class OChannelIOExceptionpublic DataOutputStream getDataOutput()
getDataOutput in interface OChannelDataOutputpublic DataInputStream getDataInput()
getDataInput in interface OChannelDataInputpublic void setWaitResponseTimeout()
throws SocketException
SocketExceptionpublic void setWaitRequestTimeout()
throws SocketException
SocketExceptionpublic void setReadRequestTimeout()
throws SocketException
SocketExceptionCopyright © 2009–2025 OrientDB. All rights reserved.