bamboo.util
Class XdrClone
java.lang.Object
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
|
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 |
XdrClone
public XdrClone()
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.