public abstract class RemoteConnection
extends java.lang.Object
implements java.io.Serializable
Purpose: Define an abstract class for the remote object that can execute a remote command using different transport protocols.
Description: This abstract class represents the remote object that is used by the remote command manager to send remote commands. The underlying transport mechanism is transparently implemented by the transport subclass implementations.
Constructor and Description |
---|
RemoteConnection() |
Modifier and Type | Method and Description |
---|---|
void |
close()
INTERNAL:
cleanup whatever is necessary.
|
abstract java.lang.Object |
executeCommand(byte[] command)
INTERNAL:
Execute the remote command.
|
abstract java.lang.Object |
executeCommand(Command command)
INTERNAL:
Execute the remote command.
|
ServiceId |
getServiceId()
INTERNAL:
Return the service info of the receiving service
|
void |
setServiceId(ServiceId newServiceId)
INTERNAL:
Set the service info of the receiving service
|
java.lang.String |
toString() |
public abstract java.lang.Object executeCommand(Command command) throws CommunicationException
CommunicationException
public abstract java.lang.Object executeCommand(byte[] command) throws CommunicationException
CommunicationException
public ServiceId getServiceId()
public void setServiceId(ServiceId newServiceId)
public java.lang.String toString()
toString
in class java.lang.Object
public void close()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference