Package com.caplin.datasource.interfaces
Interface DSSerializable
- All Known Subinterfaces:
DSContainer
,DSData
,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 thisDataSource
message that conforms toDataSource
protocol.
-
Method Details
-
toBytes
byte[] toBytes()Creates a serialized representation of this
DataSource
message that conforms toDataSource
protocol.- Returns:
- the serialized representation of this
DataSource
message.
-