com.distinct.rpc.rpcbind
Class rpcb

java.lang.Object
  |
  +--com.distinct.rpc.rpcbind.rpcb
All Implemented Interfaces:
java.io.Serializable, XDRType

public class rpcb
extends java.lang.Object
implements XDRType

This class was automatically generated by Jrpcgen from the RPC/XDR file "rpcbind.x".
rpcb: was struct

See Also:
Serialized Form

Field Summary
 java.lang.String r_addr
           
 java.lang.String r_netid
           
 java.lang.String r_owner
           
 int r_prog
           
 int r_vers
           
 
Constructor Summary
rpcb()
          Default constructor for objects of class rpcb.
rpcb(int arg_r_prog, int arg_r_vers, java.lang.String arg_r_netid, java.lang.String arg_r_addr, java.lang.String arg_r_owner)
          Creates an object of class rpcb.
 
Method Summary
 void xdr_decode(XDRStream xdrs)
          Decodes an object of class rpcb in compliance to RFC 1832 (XDR).
 void xdr_encode(XDRStream xdrs)
          Encodes an object of class rpcb in compliance to RFC 1832 (XDR).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

r_prog

public int r_prog

r_vers

public int r_vers

r_netid

public java.lang.String r_netid

r_addr

public java.lang.String r_addr

r_owner

public java.lang.String r_owner
Constructor Detail

rpcb

public rpcb()
Default constructor for objects of class rpcb.


rpcb

public rpcb(int arg_r_prog,
            int arg_r_vers,
            java.lang.String arg_r_netid,
            java.lang.String arg_r_addr,
            java.lang.String arg_r_owner)
Creates an object of class rpcb.

Parameters:
arg_r_prog - The value of the r_prog component.
arg_r_vers - The value of the r_vers component.
arg_r_netid - The value of the r_netid component.
arg_r_addr - The value of the r_addr component.
arg_r_owner - The value of the r_owner component.
Method Detail

xdr_encode

public void xdr_encode(XDRStream xdrs)
Encodes an object of class rpcb in compliance to RFC 1832 (XDR).

Specified by:
xdr_encode in interface XDRType
Parameters:
xdrs - The XDR output stream.

xdr_decode

public void xdr_decode(XDRStream xdrs)
                throws RPCError
Decodes an object of class rpcb in compliance to RFC 1832 (XDR).

Specified by:
xdr_decode in interface XDRType
Parameters:
xdrs - The XDR input stream.
Throws:
RPCError - When the calls fails for any reason.