Interface Protocol.CommandOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Protocol.Command, Protocol.Command.Builder
Enclosing class:
Protocol

public static interface Protocol.CommandOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Details

    • getId

      int getId()
       Id of command to let client match replies to commands.
       
      uint32 id = 1;
      Returns:
      The id.
    • hasConnect

      boolean hasConnect()
       ProtocolVersion2 client can send one of the following requests. Server will
       only take the first non-null request out of these and may return an error if
       client passed more than one request. We are not using oneof here due to JSON
       interoperability concerns.
       
      .centrifugal.centrifuge.protocol.ConnectRequest connect = 4;
      Returns:
      Whether the connect field is set.
    • getConnect

       ProtocolVersion2 client can send one of the following requests. Server will
       only take the first non-null request out of these and may return an error if
       client passed more than one request. We are not using oneof here due to JSON
       interoperability concerns.
       
      .centrifugal.centrifuge.protocol.ConnectRequest connect = 4;
      Returns:
      The connect.
    • hasSubscribe

      boolean hasSubscribe()
      .centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
      Returns:
      Whether the subscribe field is set.
    • getSubscribe

      .centrifugal.centrifuge.protocol.SubscribeRequest subscribe = 5;
      Returns:
      The subscribe.
    • hasUnsubscribe

      boolean hasUnsubscribe()
      .centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
      Returns:
      Whether the unsubscribe field is set.
    • getUnsubscribe

      Protocol.UnsubscribeRequest getUnsubscribe()
      .centrifugal.centrifuge.protocol.UnsubscribeRequest unsubscribe = 6;
      Returns:
      The unsubscribe.
    • hasPublish

      boolean hasPublish()
      .centrifugal.centrifuge.protocol.PublishRequest publish = 7;
      Returns:
      Whether the publish field is set.
    • getPublish

      .centrifugal.centrifuge.protocol.PublishRequest publish = 7;
      Returns:
      The publish.
    • hasPresence

      boolean hasPresence()
      .centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
      Returns:
      Whether the presence field is set.
    • getPresence

      .centrifugal.centrifuge.protocol.PresenceRequest presence = 8;
      Returns:
      The presence.
    • hasPresenceStats

      boolean hasPresenceStats()
      .centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
      Returns:
      Whether the presenceStats field is set.
    • getPresenceStats

      Protocol.PresenceStatsRequest getPresenceStats()
      .centrifugal.centrifuge.protocol.PresenceStatsRequest presence_stats = 9;
      Returns:
      The presenceStats.
    • hasHistory

      boolean hasHistory()
      .centrifugal.centrifuge.protocol.HistoryRequest history = 10;
      Returns:
      Whether the history field is set.
    • getHistory

      .centrifugal.centrifuge.protocol.HistoryRequest history = 10;
      Returns:
      The history.
    • hasPing

      boolean hasPing()
      .centrifugal.centrifuge.protocol.PingRequest ping = 11;
      Returns:
      Whether the ping field is set.
    • getPing

      .centrifugal.centrifuge.protocol.PingRequest ping = 11;
      Returns:
      The ping.
    • hasSend

      boolean hasSend()
      .centrifugal.centrifuge.protocol.SendRequest send = 12;
      Returns:
      Whether the send field is set.
    • getSend

      .centrifugal.centrifuge.protocol.SendRequest send = 12;
      Returns:
      The send.
    • hasRpc

      boolean hasRpc()
      .centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
      Returns:
      Whether the rpc field is set.
    • getRpc

      .centrifugal.centrifuge.protocol.RPCRequest rpc = 13;
      Returns:
      The rpc.
    • hasRefresh

      boolean hasRefresh()
      .centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
      Returns:
      Whether the refresh field is set.
    • getRefresh

      .centrifugal.centrifuge.protocol.RefreshRequest refresh = 14;
      Returns:
      The refresh.
    • hasSubRefresh

      boolean hasSubRefresh()
      .centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
      Returns:
      Whether the subRefresh field is set.
    • getSubRefresh

      .centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
      Returns:
      The subRefresh.