Package com.caplin.datasrc.interfaces
Interface DSSerializable
- All Known Subinterfaces:
DSContainer,DSData,DSPacket,DSPage,DSPermission,DSRecord,TransformerContainer,TransformerData,TransformerPermission,TransformerRecord
- All Known Implementing Classes:
TransformerContainerImpl,TransformerDataImpl,TransformerPermissionImpl,TransformerRecordImpl
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 this
DataSourcemessage that conforms toDataSourceprotocol.- Returns:
- the serialized representation of this
DataSourcemessage.
-