com.distinct.rpc
Interface XDRType

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Auth, domainname, keydat, mapname, netbuf, peername, Pmap, rp__list, rpcb, rpcb_entry, rpcb_entry_list, rpcb_entry_list_ptr, rpcb_rmtcallargs, rpcb_rmtcallres, rpcb_stat, rpcb_stat_byvers, rpcblist_ptr, rpcbs_addrlist, rpcbs_addrlist_ptr, rpcbs_proc, rpcbs_rmtcalllist, rpcbs_rmtcalllist_ptr, valdat, XDRboolean, XDRchar, XDRdouble, XDRfloat, XDRint, XDRlong, XDRopaque, XDRshort, XDRstring, XDRvoid, ypbind_binding, ypbind_resp, ypbind_resptype, ypbind_setdom, ypmap_parms, ypmaplist, yppush_status, yppushresp_xfr, ypreq_key, ypreq_nokey, ypreq_xfr, ypresp_all, ypresp_key_val, ypresp_maplist, ypresp_master, ypresp_order, ypresp_val, ypresp_xfr, ypstat, ypxfrstat

public interface XDRType
extends java.io.Serializable

Defines the XDR interface for all classes that implement types that can be written to or read from XDRStreams.

See Also:
XDRStream

Method Summary
 void xdr_decode(XDRStream xdrs)
          Encodes the object in compliance to RFC 1832 (XDR).
 void xdr_encode(XDRStream xdrs)
          Decodes the object in compliance to RFC 1832 (XDR).
 

Method Detail

xdr_decode

public void xdr_decode(XDRStream xdrs)
                throws RPCError
Encodes the object in compliance to RFC 1832 (XDR).

Parameters:
xdrs - The XDR output stream.
RPCError

xdr_encode

public void xdr_encode(XDRStream xdrs)
Decodes the object in compliance to RFC 1832 (XDR).

Parameters:
xdrs - The XDR input stream.