
public abstract class OChannelBinaryClientAbstract extends OChannelBinary
| Modifier and Type | Field and Description |
|---|---|
protected int |
currentSessionId |
protected byte |
currentStatus |
protected java.lang.String |
serverURL |
protected int |
socketTimeout |
protected short |
srvProtocolVersion |
debug, in, out| Constructor and Description |
|---|
OChannelBinaryClientAbstract(java.lang.String remoteHost,
int remotePort,
java.lang.String iDatabaseName,
OContextConfiguration iConfig,
int protocolVersion) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearInput() |
java.lang.String |
getServerURL() |
short |
getSrvProtocolVersion()
Gets the major supported protocol version
|
protected int |
handleStatus(byte iResult,
int iClientTxId) |
boolean |
isConnected()
Tells if the channel is connected.
|
protected void |
setReadResponseTimeout() |
protected void |
throwSerializedException(byte[] serializedException) |
boolean |
tryLock() |
void |
unlock() |
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, writeVersionacquireReadLock, acquireWriteLock, connected, getLocalIpAddress, getLockWrite, releaseReadLock, releaseWriteLock, toString, tryAcquireWriteLock, updateMetricFlushes, updateMetricReceivedBytes, updateMetricTransmittedBytesbrowseListeners, getListenersCopy, registerListener, resetListeners, unregisterListenerprotected final int socketTimeout
protected final short srvProtocolVersion
protected java.lang.String serverURL
protected byte currentStatus
protected int currentSessionId
public OChannelBinaryClientAbstract(java.lang.String remoteHost,
int remotePort,
java.lang.String iDatabaseName,
OContextConfiguration iConfig,
int protocolVersion)
throws java.io.IOException
java.io.IOExceptionpublic void clearInput()
throws java.io.IOException
clearInput in class OChannelBinaryjava.io.IOExceptionpublic boolean isConnected()
public short getSrvProtocolVersion()
public java.lang.String getServerURL()
public boolean tryLock()
public void unlock()
protected int handleStatus(byte iResult,
int iClientTxId)
throws java.io.IOException
java.io.IOExceptionprotected void setReadResponseTimeout()
throws java.net.SocketException
java.net.SocketExceptionprotected void throwSerializedException(byte[] serializedException)
throws java.io.IOException
java.io.IOExceptionCopyright © 2009–2023 OrientDB. All rights reserved.