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:
- java.rmi.Remote, Remote, RemoteThread, java.lang.Runnable, java.io.Serializable, ThreadOp
- public class RMIThread
- extends mandala.jacob.remote.rmi.RMIAbstractRemoteProxy
- implements RemoteThread, java.rmi.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
newServer
public static RMIThread newServer(ThreadOp thread)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getPriority
public int getPriority()
- Specified by:
getPriority
in interface ThreadOp
getName
public java.lang.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 java.lang.InterruptedException
- Specified by:
join
in interface ThreadOp
- Throws:
java.lang.InterruptedException
join
public void join(long millis)
throws java.lang.InterruptedException
- Specified by:
join
in interface ThreadOp
- Throws:
java.lang.InterruptedException
join
public void join(long millis,
int nanos)
throws java.lang.InterruptedException
- Specified by:
join
in interface ThreadOp
- Throws:
java.lang.InterruptedException
run
public void run()
- Specified by:
run
in interface ThreadOp
setContextClassLoader
public void setContextClassLoader(java.lang.ClassLoader cl)
- Specified by:
setContextClassLoader
in interface ThreadOp
getContextClassLoader
public java.lang.ClassLoader getContextClassLoader()
- Specified by:
getContextClassLoader
in interface ThreadOp
setDaemon
public void setDaemon(boolean on)
- Specified by:
setDaemon
in interface ThreadOp
setName
public void setName(java.lang.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 java.lang.String toString()
Mandala help mailing list