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 Type
    Method
    Description
    byte[]
    Creates a serialized representation of this DataSource message that conforms to DataSource protocol.
  • Method Details

    • toBytes

      byte[] toBytes()

      Creates a serialized representation of this DataSource message that conforms to DataSource protocol.

      Returns:
      the serialized representation of this DataSource message.