Package org.jgroups.tests
Class MessageSendTest.MySizeData
- java.lang.Object
-
- org.jgroups.tests.MessageSendTest.MyData
-
- org.jgroups.tests.MessageSendTest.MySizeData
-
- All Implemented Interfaces:
SizeStreamable,Streamable
- Enclosing class:
- MessageSendTest
public static class MessageSendTest.MySizeData extends MessageSendTest.MyData implements SizeStreamable
-
-
Field Summary
-
Fields inherited from class org.jgroups.tests.MessageSendTest.MyData
data, num
-
-
Constructor Summary
Constructors Constructor Description MySizeData()MySizeData(int num, byte[] buf)MySizeData(int num, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intserializedSize()Returns the size (in bytes) of the marshalled object-
Methods inherited from class org.jgroups.tests.MessageSendTest.MyData
readFrom, toString, writeTo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jgroups.util.Streamable
readFrom, writeTo
-
-
-
-
Method Detail
-
serializedSize
public int serializedSize()
Description copied from interface:SizeStreamableReturns the size (in bytes) of the marshalled object- Specified by:
serializedSizein interfaceSizeStreamable
-
-