|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.acplt.oncrpc.OncRpcGetPortResult
public class OncRpcGetPortResult
The OncRpcGetPortResult
class represents the result from
a PMAP_GETPORT remote procedure call to the ONC/RPC portmapper.
Field Summary | |
---|---|
int |
port
The port number of the ONC/RPC in question. |
Constructor Summary | |
---|---|
OncRpcGetPortResult()
Default constructor for initializing an OncRpcGetPortParams
result object. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int port
Constructor Detail |
---|
public OncRpcGetPortResult()
OncRpcGetPortParams
result object. It sets the port
member to a useless value.
Method Detail |
---|
public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, java.io.IOException
OncRpcGetPortParams
object into a XDR stream.
xdrEncode
in interface XdrAble
xdr
- XDR stream to which information is sent for encoding.
OncRpcException
- if an ONC/RPC error occurs.
java.io.IOException
- if an I/O error occurs.public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, java.io.IOException
OncRpcGetPortParams
object from a XDR stream.
xdrDecode
in interface XdrAble
xdr
- XDR stream from which decoded information is retrieved.
OncRpcException
- if an ONC/RPC error occurs.
java.io.IOException
- if an I/O error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |