Package com.caplin.datasource.interfaces
Interface DSSerializable
- All Known Subinterfaces:
DSContainer,DSData,DSList,DSNews,DSNoData,DSPacket,DSPage,DSPermission,DSRecord,DSStatus,DSStory
public interface DSSerializable
A
DSSerializable implementation represents a DataSource message. All messages should be
serializable so they may be sent between peers.-
Method Summary
Modifier and TypeMethodDescriptionbyte[]toBytes()Creates a serialized representation of thisDataSourcemessage that conforms toDataSourceprotocol.
-
Method Details
-
toBytes
byte[] toBytes()Creates a serialized representation of thisDataSourcemessage that conforms toDataSourceprotocol.- Returns:
- the serialized representation of this
DataSourcemessage.
-