org.acplt.oncrpc.apps.jportmap
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, servers
info, shutdownSignal, transports
Constructor and Description |
---|
OncRpcEmbeddedPortmap.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, setPort
close, getCharacterEncoding, register, run, run, setCharacterEncoding, stopRpcProcessing, unregister
protected java.lang.Thread serviceThread
public OncRpcEmbeddedPortmap.embeddedjportmap() throws java.io.IOException, OncRpcException
java.io.IOException
OncRpcException
XdrBoolean 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.