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