public class OChannelBinaryClient extends OChannelBinaryAsynch
| Modifier and Type | Field and Description |
|---|---|
protected int |
socketTimeout |
debug, in, out| Constructor and Description |
|---|
OChannelBinaryClient(String remoteHost,
int remotePort,
OContextConfiguration iConfig,
int iProtocolVersion) |
OChannelBinaryClient(String remoteHost,
int remotePort,
OContextConfiguration iConfig,
int iProtocolVersion,
ORemoteServerEventListener asynchEventListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
com.orientechnologies.common.concur.resource.OAdaptiveLock |
getLockRead() |
com.orientechnologies.common.concur.resource.OAdaptiveLock |
getLockWrite() |
short |
getSrvProtocolVersion()
Gets the major supported protocol version
|
boolean |
isConnected()
Tells if the channel is connected.
|
beginRequest, beginResponse, beginResponse, clearInput, endRequest, endResponseflush, getBuffer, getMaxChunkSize, handleStatus, readByte, readBytes, readClusterPosition, readInt, readLong, readRID, readShort, readStatus, readString, readStringList, readStringSet, readVersion, writeByte, writeBytes, writeBytes, writeClusterPosition, writeCollectionString, writeInt, writeLong, writeRID, writeShort, writeString, writeVersionacquireReadLock, acquireWriteLock, connected, releaseReadLock, releaseWriteLock, toString, updateMetricFlushes, updateMetricReceivedBytes, updateMetricTransmittedBytespublic OChannelBinaryClient(String remoteHost, int remotePort, OContextConfiguration iConfig, int iProtocolVersion) throws IOException
IOExceptionpublic OChannelBinaryClient(String remoteHost, int remotePort, OContextConfiguration iConfig, int iProtocolVersion, ORemoteServerEventListener asynchEventListener) throws IOException
IOExceptionpublic void close()
close in class OChannelBinaryAsynchpublic boolean isConnected()
public short getSrvProtocolVersion()
public com.orientechnologies.common.concur.resource.OAdaptiveLock getLockRead()
public com.orientechnologies.common.concur.resource.OAdaptiveLock getLockWrite()
Copyright © 2009-2013 Orient Technologies. All Rights Reserved.