Class OChannelText
java.lang.Object
com.orientechnologies.orient.enterprise.channel.OChannel
com.orientechnologies.orient.enterprise.channel.text.OChannelText
- Direct Known Subclasses:
OChannelTextServer
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyteread()intread(byte[] iBuffer, int iStartingPosition, int iContentLength) byte[]readBytes(int iTotal) writeBytes(byte[] iContent) Methods inherited from class com.orientechnologies.orient.enterprise.channel.OChannel
acquireReadLock, acquireWriteLock, close, connected, flush, getLocalIpAddress, getLockWrite, releaseReadLock, releaseWriteLock, toString, tryAcquireWriteLock, updateMetricFlushes, updateMetricReceivedBytes, updateMetricTransmittedBytes
-
Constructor Details
-
OChannelText
- Throws:
IOException
-
-
Method Details
-
read
- Parameters:
iBuffer- byte[] to filliStartingPosition- Offset to start to fill the bufferiContentLength- Length of expected content to read- Returns:
- total of bytes read
- Throws:
IOException
-
read
- Throws:
IOException
-
readBytes
- Throws:
IOException
-
writeBytes
- Throws:
IOException
-