
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() |
Date |
getCreatedOn() |
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) throws IOException
IOExceptionpublic 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–2016 OrientDB. All rights reserved.