Class Protocol.Request

java.lang.Object
tripleplay.syncdb.Protocol.Request
Enclosing class:
Protocol

public static class Protocol.Request extends Object
Encapsulates a sync request from the client.
  • Field Details

    • protocolVersion

      public final int protocolVersion
      The version of Protocol in use by the client.
    • version

      public final int version
      The latest version with which the client has synced.
    • delta

      public final Map<String,String> delta
      The changes that have been made on the client since the last sync.
  • Constructor Details

    • Request

      public Request(int version, Map<String,String> delta)
      Creates a request with the supplied data.