public class OncRpcDumpResult extends Object implements XdrAble
OncRpcDumpResult represent the outcome of
the PMAP_DUMP operation on a portmapper. OncRpcDumpResults are
(de-)serializeable, so they can be flushed down XDR streams.| Modifier and Type | Field and Description |
|---|---|
Vector |
servers
Vector of server ident objects describing the currently registered
ONC/RPC servers (also known as "programmes").
|
| Constructor and Description |
|---|
OncRpcDumpResult()
Initialize an
OncRpcServerIdent object. |
| Modifier and Type | Method and Description |
|---|---|
void |
xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- the result from a PMAP_DUMP remote
procedure call from a XDR stream.
|
void |
xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- the result of a PMAP_DUMP operationg
into a XDR stream.
|
public Vector servers
public OncRpcDumpResult()
OncRpcServerIdent object. Afterwards, the
servers field is initialized to contain no elements.public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException
xdrEncode in interface XdrAblexdr - XDR stream to which information is sent for encoding.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException
xdrDecode in interface XdrAblexdr - XDR stream from which decoded information is retrieved.OncRpcException - if an ONC/RPC error occurs.IOException - if an I/O error occurs.Copyright © 2015. All rights reserved.