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