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 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.