mandala.jacob.remote.rmi
Class RMIThread
java.lang.Object
mandala.jacob.remote.AbstractRemote
mandala.jacob.remote.rmi.RMIAbstractRemoteProxy
mandala.jacob.remote.rmi.RMIThread
- All Implemented Interfaces:
- Remote, Remote, RemoteThread, Runnable, Serializable, ThreadOp
- public class RMIThread
- extends mandala.jacob.remote.rmi.RMIAbstractRemoteProxy
- implements RemoteThread, Remote
Java-RMI RemoteThread
implementation.
If a remote exception occurs during a remote method invocation, the
related ExceptionHandler
's
handledException(RemoteException)
is called, but the return is
unused. Since such exceptions are considered unrecoverable, the exception is
rethrown in an UnHandledException
.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- eipi
- See Also:
RemoteThread
,
ExceptionHandler
,
Serialized Form
newServer
public static RMIThread newServer(ThreadOp thread)
throws RemoteException
- Throws:
RemoteException
getPriority
public int getPriority()
- Specified by:
getPriority
in interface ThreadOp
getName
public String getName()
- Specified by:
getName
in interface ThreadOp
interrupt
public void interrupt()
- Specified by:
interrupt
in interface ThreadOp
isAlive
public boolean isAlive()
- Specified by:
isAlive
in interface ThreadOp
isDaemon
public boolean isDaemon()
- Specified by:
isDaemon
in interface ThreadOp
isInterrupted
public boolean isInterrupted()
- Specified by:
isInterrupted
in interface ThreadOp
join
public void join()
throws InterruptedException
- Specified by:
join
in interface ThreadOp
- Throws:
InterruptedException
join
public void join(long millis)
throws InterruptedException
- Specified by:
join
in interface ThreadOp
- Throws:
InterruptedException
join
public void join(long millis,
int nanos)
throws InterruptedException
- Specified by:
join
in interface ThreadOp
- Throws:
InterruptedException
run
public void run()
- Specified by:
run
in interface ThreadOp
setContextClassLoader
public void setContextClassLoader(ClassLoader cl)
- Specified by:
setContextClassLoader
in interface ThreadOp
getContextClassLoader
public ClassLoader getContextClassLoader()
- Specified by:
getContextClassLoader
in interface ThreadOp
setDaemon
public void setDaemon(boolean on)
- Specified by:
setDaemon
in interface ThreadOp
setName
public void setName(String name)
- Specified by:
setName
in interface ThreadOp
setPriority
public void setPriority(int newPriority)
- Specified by:
setPriority
in interface ThreadOp
start
public void start()
- Specified by:
start
in interface ThreadOp
checkAccess
public void checkAccess()
- Specified by:
checkAccess
in interface ThreadOp
toString
public String toString()
Mandala help mailing list