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 -
Method Summary
Modifier and TypeMethodDescriptionintReturns the size (in bytes) of the marshalled objectMethods inherited from class org.jgroups.tests.MessageSendTest.MyData
readFrom, toString, writeToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jgroups.util.Streamable
readFrom, writeTo
-
Constructor Details
-
MySizeData
public MySizeData() -
MySizeData
public MySizeData(int num, int length) -
MySizeData
public MySizeData(int num, byte[] buf)
-
-
Method Details
-
serializedSize
public int serializedSize()Description copied from interface:SizeStreamableReturns the size (in bytes) of the marshalled object- Specified by:
serializedSizein interfaceSizeStreamable
-