Class ORemoteServerController
java.lang.Object
com.orientechnologies.orient.server.distributed.ORemoteServerController
Remote server controller. It handles the communication with remote servers in HA configuration.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionORemoteServerController(ORemoteServerAvailabilityCheck check, String localNodeName, String server, String url, String user, String passwd) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intvoidsendBinaryRequest(OBinaryRequest<?> request) voidvoidvoidsendResponse(ODistributedResponse response)
-
Field Details
-
CURRENT_PROTOCOL_VERSION
public static final int CURRENT_PROTOCOL_VERSION- See Also:
-
MIN_SUPPORTED_PROTOCOL_VERSION
public static final int MIN_SUPPORTED_PROTOCOL_VERSION- See Also:
-
-
Constructor Details
-
ORemoteServerController
-
-
Method Details
-
sendMessage
-
sendRequest
-
sendResponse
-
close
public void close() -
getProtocolVersion
public int getProtocolVersion() -
sendBinaryRequest
-