Class OChannelBinary
java.lang.Object
com.orientechnologies.orient.enterprise.channel.OChannel
com.orientechnologies.orient.enterprise.channel.binary.OChannelBinary
- Direct Known Subclasses:
OChannelBinaryAsynchClient,OChannelBinaryServer,OChannelBinarySynchClient
Abstract representation of a channel.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected DataInputStreamprotected OChannelDataInputprotected final intprotected DataOutputStreamprotected OChannelDataOutputFields inherited from class com.orientechnologies.orient.enterprise.channel.OChannel
inStream, outStream, socket, socketBufferSize -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.orientechnologies.orient.enterprise.channel.OChannel
acquireReadLock, acquireWriteLock, connected, getLocalIpAddress, getLockWrite, releaseReadLock, releaseWriteLock, toString, tryAcquireWriteLock, updateMetricFlushes, updateMetricReceivedBytes, updateMetricTransmittedBytes
-
Field Details
-
debug
protected final boolean debug -
maxChunkSize
protected final int maxChunkSize -
in
-
out
-
inChannel
-
outChannel
-
-
Constructor Details
-
OChannelBinary
- Throws:
IOException
-
-
Method Details
-
initDebug
protected void initDebug() -
clearInput
- Throws:
IOException
-
flush
- Overrides:
flushin classOChannel- Throws:
IOException
-
close
public void close() -
getDataOutput
-
getDataInput
-
setWaitResponseTimeout
- Throws:
SocketException
-
setWaitRequestTimeout
- Throws:
SocketException
-
setReadRequestTimeout
- Throws:
SocketException
-
getChannelDataInput
-
getChannelDataOutput
-
initChannels
- Throws:
IOException
-