rice.p2p.util.testing
Class XMLObjectStreamUnit.TestExternalizable

java.lang.Object
  extended by rice.p2p.util.testing.XMLObjectStreamUnit.TestExternalizable
All Implemented Interfaces:
Externalizable, Serializable
Direct Known Subclasses:
XMLObjectStreamUnit.TestSubExternalizable
Enclosing class:
XMLObjectStreamUnit

public static class XMLObjectStreamUnit.TestExternalizable
extends Object
implements Externalizable

See Also:
Serialized Form

Field Summary
protected  int num
           
 
Constructor Summary
XMLObjectStreamUnit.TestExternalizable()
           
 
Method Summary
 int getNum()
           
 void readExternal(ObjectInput i)
           
 void writeExternal(ObjectOutput o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

num

protected int num
Constructor Detail

XMLObjectStreamUnit.TestExternalizable

public XMLObjectStreamUnit.TestExternalizable()
Method Detail

getNum

public int getNum()

writeExternal

public void writeExternal(ObjectOutput o)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput i)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException


Copyright © 2010. All Rights Reserved.