public class RemoteMachineImpl extends Activatable implements RemoteMachine
Modifier and Type | Field and Description |
---|---|
(package private) static ByteArrayOutputStream |
machineErr |
(package private) static PrintStream |
machineErrPS |
(package private) String |
machineName |
(package private) static ByteArrayOutputStream |
machineOut |
(package private) static PrintStream |
machineOutPS |
(package private) AtomicInteger |
rmTimeout |
(package private) Thread |
watchdog |
ref
Constructor and Description |
---|
RemoteMachineImpl(ActivationID id,
MarshalledObject<?> data) |
RemoteMachineImpl(ActivationID id,
MarshalledObject<?> data,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf) |
Modifier and Type | Method and Description |
---|---|
RMResult<Void> |
alive() |
protected <T> RMResult<T> |
createResult(T v) |
<T> RMResult<T> |
echoObject(T obj) |
<T> RMResult<T> |
executeTask(RMTask<T> t) |
protected void |
exitRemoteMachine() |
RMResult<String> |
getErr() |
String |
getMachineName() |
RMResult<String> |
getOut() |
String |
getServerName() |
boolean |
isSSL() |
RMResult<Void> |
setTTL(int msec) |
RMResult<Void> |
terminate() |
RMResult<Void> |
vacuum() |
exportObject, exportObject, exportObject, exportObject, getID, inactive, register, unexportObject, unregister
getClientHost, getLog, setLog
AtomicInteger rmTimeout
Thread watchdog
String machineName
static ByteArrayOutputStream machineErr
static PrintStream machineErrPS
static ByteArrayOutputStream machineOut
static PrintStream machineOutPS
public RemoteMachineImpl(ActivationID id, MarshalledObject<?> data, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException, IOException, ClassNotFoundException
public RemoteMachineImpl(ActivationID id, MarshalledObject<?> data) throws RemoteException, IOException, ClassNotFoundException
protected void exitRemoteMachine()
protected <T> RMResult<T> createResult(T v)
public RMResult<String> getOut()
getOut
in interface RemoteMachine
public RMResult<String> getErr()
getErr
in interface RemoteMachine
public RMResult<Void> alive() throws RemoteException
alive
in interface RemoteMachine
RemoteException
public String getServerName() throws RemoteException
getServerName
in interface RemoteMachine
RemoteException
public boolean isSSL() throws RemoteException
isSSL
in interface RemoteMachine
RemoteException
public String getMachineName() throws RemoteException
getMachineName
in interface RemoteMachine
RemoteException
public <T> RMResult<T> echoObject(T obj) throws RemoteException
echoObject
in interface RemoteMachine
RemoteException
public <T> RMResult<T> executeTask(RMTask<T> t) throws RemoteException
executeTask
in interface RemoteMachine
RemoteException
public RMResult<Void> vacuum() throws RemoteException
vacuum
in interface RemoteMachine
RemoteException
public RMResult<Void> terminate() throws RemoteException
terminate
in interface RemoteMachine
RemoteException
public RMResult<Void> setTTL(int msec) throws RemoteException
setTTL
in interface RemoteMachine
RemoteException
EDB Working Group at Tue Jun 10 17:08:59 JST 2025