
public class OChannelText extends OChannel
| Constructor and Description |
|---|
OChannelText(Socket iSocket,
OContextConfiguration iConfig) |
| Modifier and Type | Method and Description |
|---|---|
byte |
read() |
int |
read(byte[] iBuffer,
int iStartingPosition,
int iContentLength) |
byte[] |
readBytes(int iTotal) |
OChannelText |
writeBytes(byte[] iContent) |
acquireReadLock, acquireWriteLock, close, connected, flush, getLocalIpAddress, getLocalSocketAddress, getLockRead, getLockWrite, releaseReadLock, releaseWriteLock, toString, tryAcquireWriteLock, updateMetricFlushes, updateMetricReceivedBytes, updateMetricTransmittedBytesbrowseListeners, getListenersCopy, registerListener, resetListeners, unregisterListenerpublic OChannelText(Socket iSocket, OContextConfiguration iConfig) throws IOException
IOExceptionpublic int read(byte[] iBuffer,
int iStartingPosition,
int iContentLength)
throws IOException
iBuffer - byte[] to filliStartingPosition - Offset to start to fill the bufferiContentLength - Length of expected content to readIOExceptionpublic byte read()
throws IOException
IOExceptionpublic byte[] readBytes(int iTotal)
throws IOException
IOExceptionpublic OChannelText writeBytes(byte[] iContent) throws IOException
IOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.