com.distinct.rpc
Class XDRint

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

public class XDRint
extends java.lang.Object
implements XDRType

This wrapper class is used to encode or decode a parameter of type int to or from an XDRStream.

See Also:
Serialized Form

Field Summary
 int value
           
 
Constructor Summary
XDRint()
           
 
Method Summary
 void xdr_decode(XDRStream xdrs)
          Decodes an object of class int in compliance to RFC 1832 (XDR).
 void xdr_encode(XDRStream xdrs)
          Encodes an object of class int 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

value

public int value
Constructor Detail

XDRint

public XDRint()
Method Detail

xdr_encode

public void xdr_encode(XDRStream xdrs)
Encodes an object of class int 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 int in compliance to RFC 1832 (XDR).
Specified by:
xdr_decode in interface XDRType
Parameters:
xdrs - The XDR input stream.
Throws:
RPCError - When the call fails for any reason.