public class RMIRemoteConnection extends RemoteConnection
Purpose: Define an RMI implementation class for the remote object that can execute a remote command.
Description: This implementation class is the RMI transport version of the connection that is used by the remote command manager to send remote commands. This object just wraps the RMIRemoteCommandConnection remote object
Constructor and Description |
---|
RMIRemoteConnection(RMIRemoteCommandConnection connection) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
executeCommand(byte[] command)
INTERNAL:
This method invokes the remote object with the Command argument, and causes
it to execute the command in the remote VM.
|
java.lang.Object |
executeCommand(Command command)
INTERNAL:
This method invokes the remote object with the Command argument, and causes
it to execute the command in the remote VM.
|
RMIRemoteCommandConnection |
getConnection()
INTERNAL
Return the RemoteCommandConnection associated with this RemoteConnection
|
close, getServiceId, setServiceId, toString
public RMIRemoteConnection(RMIRemoteCommandConnection connection)
public java.lang.Object executeCommand(Command command) throws CommunicationException
executeCommand
in class RemoteConnection
CommunicationException
public java.lang.Object executeCommand(byte[] command) throws CommunicationException
executeCommand
in class RemoteConnection
CommunicationException
public RMIRemoteCommandConnection getConnection()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference