public class OncRpcGetPortResult extends Object implements XdrAble
OncRpcGetPortResult class represents the result from
a PMAP_GETPORT remote procedure call to the ONC/RPC portmapper.| Modifier and Type | Field and Description |
|---|---|
int |
port
The port number of the ONC/RPC in question.
|
| Constructor and Description |
|---|
OncRpcGetPortResult()
Default constructor for initializing an
OncRpcGetPortParams
result object. |
| Modifier and Type | Method and Description |
|---|---|
void |
xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- an
OncRpcGetPortParams
object from a XDR stream. |
void |
xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- an
OncRpcGetPortParams
object into a XDR stream. |
public int port
public OncRpcGetPortResult()
OncRpcGetPortParams
result object. It sets the port member to a useless value.public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException
OncRpcGetPortParams
object into a XDR stream.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
OncRpcGetPortParams
object from a XDR stream.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.