com.distinct.rpc.rpcbind
Class rpcb_rmtcallargs

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

public class rpcb_rmtcallargs
extends java.lang.Object
implements XDRType

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

See Also:
Serialized Form

Field Summary
 byte[] args
           
 int proc
           
 int prog
           
 int vers
           
 
Constructor Summary
rpcb_rmtcallargs()
          Default constructor for objects of class rpcb_rmtcallargs.
rpcb_rmtcallargs(int arg_prog, int arg_vers, int arg_proc, byte[] arg_args)
          Creates an object of class rpcb_rmtcallargs.
 
Method Summary
 void xdr_decode(XDRStream xdrs)
          Decodes an object of class rpcb_rmtcallargs in compliance to RFC 1832 (XDR).
 void xdr_encode(XDRStream xdrs)
          Encodes an object of class rpcb_rmtcallargs 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

prog

public int prog

vers

public int vers

proc

public int proc

args

public byte[] args
Constructor Detail

rpcb_rmtcallargs

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


rpcb_rmtcallargs

public rpcb_rmtcallargs(int arg_prog,
                        int arg_vers,
                        int arg_proc,
                        byte[] arg_args)
Creates an object of class rpcb_rmtcallargs.

Parameters:
arg_prog - The value of the prog component.
arg_vers - The value of the vers component.
arg_proc - The value of the proc component.
arg_args - The value of the args component.
Method Detail

xdr_encode

public void xdr_encode(XDRStream xdrs)
Encodes an object of class rpcb_rmtcallargs 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_rmtcallargs 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.