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, getLockWrite, releaseReadLock, releaseWriteLock, toString, tryAcquireWriteLock, updateMetricFlushes, updateMetricReceivedBytes, updateMetricTransmittedBytes
browseListeners, getListenersCopy, registerListener, resetListeners, unregisterListener
public OChannelText(Socket iSocket, OContextConfiguration iConfig) throws IOException
IOException
public 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 readIOException
public byte read() throws IOException
IOException
public byte[] readBytes(int iTotal) throws IOException
IOException
public OChannelText writeBytes(byte[] iContent) throws IOException
IOException
Copyright © 2009–2020 OrientDB. All rights reserved.