Package org.acplt.oncrpc.apps.jportmap
Class OncRpcEmbeddedPortmap.OncRpcEmbeddedPortmapThread
- java.lang.Object
-
- java.lang.Thread
-
- org.acplt.oncrpc.apps.jportmap.OncRpcEmbeddedPortmap.OncRpcEmbeddedPortmapThread
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- OncRpcEmbeddedPortmap
class OncRpcEmbeddedPortmap.OncRpcEmbeddedPortmapThread extends java.lang.Thread
The classOncRpcEmbeddedPortmapThread
implements a thread which will run an embedded portmap service.
-
-
Field Summary
Fields Modifier and Type Field Description private OncRpcEmbeddedPortmap.embeddedjportmap
portmap
The embedded portmap service object this thread belongs to.
-
Constructor Summary
Constructors Constructor Description OncRpcEmbeddedPortmapThread(OncRpcEmbeddedPortmap.embeddedjportmap portmap)
Construct a new embedded portmap service thread and associate it with the portmap object to be used as the service.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Run the embedded portmap service thread, starting dispatching of all portmap transports until we get the signal to shut down.-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
portmap
private OncRpcEmbeddedPortmap.embeddedjportmap portmap
The embedded portmap service object this thread belongs to. The service object implements the ONC/RPC dispatcher and the individual remote procedures for a portmapper).
-
-
Constructor Detail
-
OncRpcEmbeddedPortmapThread
public OncRpcEmbeddedPortmapThread(OncRpcEmbeddedPortmap.embeddedjportmap portmap)
Construct a new embedded portmap service thread and associate it with the portmap object to be used as the service. The service is not started yet.
-
-