
public abstract class OChannelBinaryClientAbstract extends OChannelBinary
| Modifier and Type | Field and Description |
|---|---|
protected int |
currentSessionId |
protected byte |
currentStatus |
protected String |
serverURL |
protected int |
socketTimeout |
protected short |
srvProtocolVersion |
debug, in, out| Constructor and Description |
|---|
OChannelBinaryClientAbstract(String remoteHost,
int remotePort,
String iDatabaseName,
OContextConfiguration iConfig,
int protocolVersion) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearInput() |
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, getLocalSocketAddress, getLockRead, getLockWrite, releaseReadLock, releaseWriteLock, toString, tryAcquireWriteLock, updateMetricFlushes, updateMetricReceivedBytes, updateMetricTransmittedBytesbrowseListeners, getListenersCopy, registerListener, resetListeners, unregisterListenerprotected final int socketTimeout
protected final short srvProtocolVersion
protected String serverURL
protected byte currentStatus
protected int currentSessionId
public OChannelBinaryClientAbstract(String remoteHost, int remotePort, String iDatabaseName, OContextConfiguration iConfig, int protocolVersion) throws IOException
IOExceptionpublic void clearInput()
throws IOException
clearInput in class OChannelBinaryIOExceptionpublic boolean isConnected()
public short getSrvProtocolVersion()
public String getServerURL()
public boolean tryLock()
public void unlock()
protected int handleStatus(byte iResult,
int iClientTxId)
throws IOException
IOExceptionprotected void setReadResponseTimeout()
throws SocketException
SocketExceptionprotected void throwSerializedException(byte[] serializedException)
throws IOException
IOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.