
public class ORemoteServerChannel
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ORemoteServerChannel.OStorageRemoteOperation<T> |
| Constructor and Description |
|---|
ORemoteServerChannel(ORemoteServerAvailabilityCheck check,
java.lang.String localNodeName,
java.lang.String iServer,
java.lang.String iURL,
java.lang.String user,
java.lang.String passwd,
int currentProtocolVersion) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkReconnect() |
void |
close() |
void |
connect() |
java.util.Date |
getCreatedOn() |
int |
getDistributedProtocolVersion() |
java.lang.String |
getServer() |
protected <T> T |
networkOperation(byte operationId,
ORemoteServerChannel.OStorageRemoteOperation<T> operation,
java.lang.String errorMessage,
int maxRetry,
boolean autoReconnect) |
void |
sendBinaryRequest(OBinaryRequest request) |
void |
sendRequest(ODistributedRequest request) |
void |
sendResponse(ODistributedResponse response) |
public ORemoteServerChannel(ORemoteServerAvailabilityCheck check, java.lang.String localNodeName, java.lang.String iServer, java.lang.String iURL, java.lang.String user, java.lang.String passwd, int currentProtocolVersion) throws java.io.IOException
java.io.IOExceptionpublic int getDistributedProtocolVersion()
public void sendBinaryRequest(OBinaryRequest request)
public void checkReconnect()
public void sendRequest(ODistributedRequest request)
public void sendResponse(ODistributedResponse response)
public void connect()
throws java.io.IOException
java.io.IOExceptionpublic void close()
protected <T> T networkOperation(byte operationId,
ORemoteServerChannel.OStorageRemoteOperation<T> operation,
java.lang.String errorMessage,
int maxRetry,
boolean autoReconnect)
public java.lang.String getServer()
public java.util.Date getCreatedOn()
Copyright © 2009–2022 OrientDB. All rights reserved.