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, unregistergetClientHost, getLog, setLogAtomicInteger 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 RemoteMachinepublic RMResult<String> getErr()
getErr in interface RemoteMachinepublic RMResult<Void> alive() throws RemoteException
alive in interface RemoteMachineRemoteExceptionpublic String getServerName() throws RemoteException
getServerName in interface RemoteMachineRemoteExceptionpublic boolean isSSL()
throws RemoteException
isSSL in interface RemoteMachineRemoteExceptionpublic String getMachineName() throws RemoteException
getMachineName in interface RemoteMachineRemoteExceptionpublic <T> RMResult<T> echoObject(T obj) throws RemoteException
echoObject in interface RemoteMachineRemoteExceptionpublic <T> RMResult<T> executeTask(RMTask<T> t) throws RemoteException
executeTask in interface RemoteMachineRemoteExceptionpublic RMResult<Void> vacuum() throws RemoteException
vacuum in interface RemoteMachineRemoteExceptionpublic RMResult<Void> terminate() throws RemoteException
terminate in interface RemoteMachineRemoteExceptionpublic RMResult<Void> setTTL(int msec) throws RemoteException
setTTL in interface RemoteMachineRemoteExceptionEDB Working Group at Mon Dec 15 16:45:05 JST 2025