bamboo.util
Class XdrClone

java.lang.Object
  extended by bamboo.util.XdrClone

public class XdrClone
extends Object

Clone XdrAble objects by serializing and deserializing them.

Version:
$Id: XdrClone.java,v 1.2 2004/04/19 22:56:39 srhea Exp $
Author:
Sean C. Rhea

Constructor Summary
XdrClone()
           
 
Method Summary
static void main(String[] args)
          Test harness.
static org.acplt.oncrpc.XdrAble xdr_clone(org.acplt.oncrpc.XdrAble value, ByteBuffer buf)
          Clone XdrAble objects by serializing and deserializing them; the buffer is cleared before serialization and not cleared after deserialization, so the size of the object can be found by calling buf.position () after a call to xdr_clone.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XdrClone

public XdrClone()
Method Detail

xdr_clone

public static org.acplt.oncrpc.XdrAble xdr_clone(org.acplt.oncrpc.XdrAble value,
                                                 ByteBuffer buf)
Clone XdrAble objects by serializing and deserializing them; the buffer is cleared before serialization and not cleared after deserialization, so the size of the object can be found by calling buf.position () after a call to xdr_clone.


main

public static void main(String[] args)
Test harness.