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 Detail

      • getId

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

        int getMethodValue()
         Method is used in ProtocolVersion1 only.
         
        .centrifugal.centrifuge.protocol.Command.MethodType method = 2;
        Returns:
        The enum numeric value on the wire for method.
      • getMethod

        Protocol.Command.MethodType getMethod()
         Method is used in ProtocolVersion1 only.
         
        .centrifugal.centrifuge.protocol.Command.MethodType method = 2;
        Returns:
        The method.
      • getParams

        com.google.protobuf.ByteString getParams()
         Params is used in ProtocolVersion1 only.
         
        bytes params = 3;
        Returns:
        The params.
      • 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

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

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

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

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

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

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

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

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

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

        Protocol.SubRefreshRequest getSubRefresh()
        .centrifugal.centrifuge.protocol.SubRefreshRequest sub_refresh = 15;
        Returns:
        The subRefresh.