
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect() |
protected <T> T |
networkOperation(byte operationId,
ORemoteServerChannel.OStorageRemoteOperation<T> operation,
String errorMessage,
int maxRetry,
boolean autoReconnect) |
void |
sendRequest(ODistributedRequest req,
String node) |
void |
sendResponse(ODistributedResponse response,
String node) |
public ORemoteServerChannel(ODistributedServerManager manager, String iServer, String iURL, String user, String passwd) throws IOException
IOExceptionpublic void sendRequest(ODistributedRequest req, String node)
public void sendResponse(ODistributedResponse response, String node)
public void connect()
throws IOException
IOExceptionpublic void close()
protected <T> T networkOperation(byte operationId,
ORemoteServerChannel.OStorageRemoteOperation<T> operation,
String errorMessage,
int maxRetry,
boolean autoReconnect)
Copyright © 2009–2016 Orient Technologies. All rights reserved.