Class OChannelBinarySynchClient
java.lang.Object
com.orientechnologies.orient.enterprise.channel.OChannel
com.orientechnologies.orient.enterprise.channel.binary.OChannelBinary
com.orientechnologies.orient.client.binary.OChannelBinaryClientAbstract
com.orientechnologies.orient.client.binary.OChannelBinarySynchClient
- All Implemented Interfaces:
OChannelDataInput,OChannelDataOutput
Synchronous implementation of binary channel.
-
Field Summary
Fields inherited from class com.orientechnologies.orient.client.binary.OChannelBinaryClientAbstract
currentSessionId, currentStatus, serverURL, socketTimeout, srvProtocolVersionFields inherited from class com.orientechnologies.orient.enterprise.channel.binary.OChannelBinary
debug, in, out -
Constructor Summary
ConstructorsConstructorDescriptionOChannelBinarySynchClient(OSocketFactory factory, String remoteHost, int remotePort, String iDatabaseName, OContextConfiguration iConfig, int protocolVersion) -
Method Summary
Modifier and TypeMethodDescriptionvoidbeginRequest(byte iCommand, int sessionId, byte[] token) byte[]beginResponse(boolean token) Methods inherited from class com.orientechnologies.orient.client.binary.OChannelBinaryClientAbstract
clearInput, getServerURL, getSrvProtocolVersion, handleStatus, isConnected, setReadResponseTimeout, throwSerializedException, tryLock, unlockMethods inherited from class com.orientechnologies.orient.enterprise.channel.binary.OChannelBinary
close, flush, getDataInput, getDataOutput, readBoolean, readByte, readBytes, readInt, readLong, readRID, readShort, readString, readVersion, setReadRequestTimeout, setWaitRequestTimeout, setWaitResponseTimeout, writeBoolean, writeByte, writeBytes, writeBytes, writeInt, writeLong, writeRID, writeShort, writeString, writeVersionMethods inherited from class com.orientechnologies.orient.enterprise.channel.OChannel
acquireReadLock, acquireWriteLock, connected, getLocalIpAddress, getLockWrite, releaseReadLock, releaseWriteLock, toString, tryAcquireWriteLock, updateMetricFlushes, updateMetricReceivedBytes, updateMetricTransmittedBytes
-
Constructor Details
-
OChannelBinarySynchClient
public OChannelBinarySynchClient(OSocketFactory factory, String remoteHost, int remotePort, String iDatabaseName, OContextConfiguration iConfig, int protocolVersion) throws IOException - Throws:
IOException
-
-
Method Details
-
beginRequest
- Throws:
IOException
-
beginResponse
- Throws:
IOException
-