
public abstract class OChannelBinary extends OChannel
| 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 |
drain() |
void |
flush() |
DataInputStream |
getDataInput() |
DataOutputStream |
getDataOutput() |
boolean |
readBoolean() |
byte |
readByte() |
byte[] |
readBytes() |
int |
readInt() |
long |
readLong() |
ORecordId |
readRID() |
short |
readShort() |
String |
readString() |
int |
readVersion() |
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
IOExceptionpublic boolean readBoolean()
throws IOException
IOExceptionpublic int readInt()
throws IOException
IOExceptionpublic long readLong()
throws IOException
IOExceptionpublic short readShort()
throws IOException
IOExceptionpublic String readString() throws IOException
IOExceptionpublic byte[] readBytes()
throws IOException
IOExceptionpublic ORecordId readRID() throws IOException
IOExceptionpublic int readVersion()
throws IOException
IOExceptionpublic OChannelBinary writeByte(byte iContent) throws IOException
IOExceptionpublic OChannelBinary writeBoolean(boolean iContent) throws IOException
IOExceptionpublic OChannelBinary writeInt(int iContent) throws IOException
IOExceptionpublic OChannelBinary writeLong(long iContent) throws IOException
IOExceptionpublic OChannelBinary writeShort(short iContent) throws IOException
IOExceptionpublic OChannelBinary writeString(String iContent) throws IOException
IOExceptionpublic OChannelBinary writeBytes(byte[] iContent) throws IOException
IOExceptionpublic OChannelBinary writeBytes(byte[] iContent, int iLength) throws IOException
IOExceptionpublic void writeRID(ORID iRID) throws IOException
IOExceptionpublic void writeVersion(int version)
throws IOException
IOExceptionpublic void clearInput()
throws IOException
IOExceptionpublic void flush()
throws IOException
flush in class OChannelIOExceptionpublic DataOutputStream getDataOutput()
public DataInputStream getDataInput()
public void drain()
throws IOException
IOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.