Package org.acplt.oncrpc
Class OncRpcDumpResult
java.lang.Object
org.acplt.oncrpc.OncRpcDumpResult
- All Implemented Interfaces:
XdrAble
Objects of class
OncRpcDumpResult
represent the outcome of
the PMAP_DUMP operation on a portmapper. OncRpcDumpResult
s are
(de-)serializeable, so they can be flushed down XDR streams.- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/08/13 12:03:41 $ $State: Exp $ $Locker: $
- Author:
- Harald Albrecht
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Decodes -- that is: deserializes -- the result from a PMAP_DUMP remote procedure call from a XDR stream.void
Encodes -- that is: serializes -- the result of a PMAP_DUMP operationg into a XDR stream.
-
Field Details
-
servers
Vector of server ident objects describing the currently registered ONC/RPC servers (also known as "programmes").
-
-
Constructor Details
-
OncRpcDumpResult
public OncRpcDumpResult()Initialize anOncRpcServerIdent
object. Afterwards, theservers
field is initialized to contain no elements.
-
-
Method Details
-
xdrEncode
Encodes -- that is: serializes -- the result of a PMAP_DUMP operationg into a XDR stream.- Specified by:
xdrEncode
in interfaceXdrAble
- Parameters:
xdr
- XDR stream to which information is sent for encoding.- Throws:
OncRpcException
- if an ONC/RPC error occurs.IOException
- if an I/O error occurs.
-
xdrDecode
Decodes -- that is: deserializes -- the result from a PMAP_DUMP remote procedure call from a XDR stream.- Specified by:
xdrDecode
in interfaceXdrAble
- Parameters:
xdr
- XDR stream from which decoded information is retrieved.- Throws:
OncRpcException
- if an ONC/RPC error occurs.IOException
- if an I/O error occurs.
-