class OncRpcEmbeddedPortmap.embeddedjportmap extends jportmap
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Thread |
serviceThread
Thread running the embedded portmap service.
|
locals, PMAP_PORT, PMAP_PROGRAM, PMAP_VERSION, serversinfo, shutdownSignal, transports| Constructor and Description |
|---|
embeddedjportmap()
Creates a new instance of an embeddable portmap service.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) XdrBoolean |
unsetPort(OncRpcServerIdent params)
Deregister all port settings for a particular (program, version) for
all transports (TCP, UDP, ...).
|
dispatchOncRpcCall, getPort, isLocalAddress, listServers, main, setPortclose, getCharacterEncoding, register, run, run, setCharacterEncoding, stopRpcProcessing, unregisterprotected java.lang.Thread serviceThread
public embeddedjportmap()
throws java.io.IOException,
OncRpcException
java.io.IOExceptionOncRpcExceptionXdrBoolean unsetPort(OncRpcServerIdent params)
jrpcgen superclass,
but checks whether there are other ONC/RPC programs registered. If
not, it signals itself to shut down the portmap service.