public static enum BaseCommand.Type extends Enum<BaseCommand.Type>
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static BaseCommand.Type |
valueOf(int n) |
static BaseCommand.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseCommand.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseCommand.Type CONNECT
public static final BaseCommand.Type CONNECTED
public static final BaseCommand.Type SUBSCRIBE
public static final BaseCommand.Type PRODUCER
public static final BaseCommand.Type SEND
public static final BaseCommand.Type SEND_RECEIPT
public static final BaseCommand.Type SEND_ERROR
public static final BaseCommand.Type MESSAGE
public static final BaseCommand.Type ACK
public static final BaseCommand.Type FLOW
public static final BaseCommand.Type UNSUBSCRIBE
public static final BaseCommand.Type SUCCESS
public static final BaseCommand.Type ERROR
public static final BaseCommand.Type CLOSE_PRODUCER
public static final BaseCommand.Type CLOSE_CONSUMER
public static final BaseCommand.Type PRODUCER_SUCCESS
public static final BaseCommand.Type PING
public static final BaseCommand.Type PONG
public static final BaseCommand.Type REDELIVER_UNACKNOWLEDGED_MESSAGES
public static final BaseCommand.Type PARTITIONED_METADATA
public static final BaseCommand.Type PARTITIONED_METADATA_RESPONSE
public static final BaseCommand.Type LOOKUP
public static final BaseCommand.Type LOOKUP_RESPONSE
public static final BaseCommand.Type CONSUMER_STATS
public static final BaseCommand.Type CONSUMER_STATS_RESPONSE
public static final BaseCommand.Type REACHED_END_OF_TOPIC
public static final BaseCommand.Type SEEK
public static final BaseCommand.Type GET_LAST_MESSAGE_ID
public static final BaseCommand.Type GET_LAST_MESSAGE_ID_RESPONSE
public static final BaseCommand.Type ACTIVE_CONSUMER_CHANGE
public static final BaseCommand.Type GET_TOPICS_OF_NAMESPACE
public static final BaseCommand.Type GET_TOPICS_OF_NAMESPACE_RESPONSE
public static final BaseCommand.Type GET_SCHEMA
public static final BaseCommand.Type GET_SCHEMA_RESPONSE
public static final BaseCommand.Type AUTH_CHALLENGE
public static final BaseCommand.Type AUTH_RESPONSE
public static final BaseCommand.Type ACK_RESPONSE
public static final BaseCommand.Type GET_OR_CREATE_SCHEMA
public static final BaseCommand.Type GET_OR_CREATE_SCHEMA_RESPONSE
public static final BaseCommand.Type NEW_TXN
public static final BaseCommand.Type NEW_TXN_RESPONSE
public static final BaseCommand.Type ADD_PARTITION_TO_TXN
public static final BaseCommand.Type ADD_PARTITION_TO_TXN_RESPONSE
public static final BaseCommand.Type ADD_SUBSCRIPTION_TO_TXN
public static final BaseCommand.Type ADD_SUBSCRIPTION_TO_TXN_RESPONSE
public static final BaseCommand.Type END_TXN
public static final BaseCommand.Type END_TXN_RESPONSE
public static final BaseCommand.Type END_TXN_ON_PARTITION
public static final BaseCommand.Type END_TXN_ON_PARTITION_RESPONSE
public static final BaseCommand.Type END_TXN_ON_SUBSCRIPTION
public static final BaseCommand.Type END_TXN_ON_SUBSCRIPTION_RESPONSE
public static final int CONNECT_VALUE
public static final int CONNECTED_VALUE
public static final int SUBSCRIBE_VALUE
public static final int PRODUCER_VALUE
public static final int SEND_VALUE
public static final int SEND_RECEIPT_VALUE
public static final int SEND_ERROR_VALUE
public static final int MESSAGE_VALUE
public static final int ACK_VALUE
public static final int FLOW_VALUE
public static final int UNSUBSCRIBE_VALUE
public static final int SUCCESS_VALUE
public static final int ERROR_VALUE
public static final int CLOSE_PRODUCER_VALUE
public static final int CLOSE_CONSUMER_VALUE
public static final int PRODUCER_SUCCESS_VALUE
public static final int PING_VALUE
public static final int PONG_VALUE
public static final int REDELIVER_UNACKNOWLEDGED_MESSAGES_VALUE
public static final int PARTITIONED_METADATA_VALUE
public static final int PARTITIONED_METADATA_RESPONSE_VALUE
public static final int LOOKUP_VALUE
public static final int LOOKUP_RESPONSE_VALUE
public static final int CONSUMER_STATS_VALUE
public static final int CONSUMER_STATS_RESPONSE_VALUE
public static final int REACHED_END_OF_TOPIC_VALUE
public static final int SEEK_VALUE
public static final int GET_LAST_MESSAGE_ID_VALUE
public static final int GET_LAST_MESSAGE_ID_RESPONSE_VALUE
public static final int ACTIVE_CONSUMER_CHANGE_VALUE
public static final int GET_TOPICS_OF_NAMESPACE_VALUE
public static final int GET_TOPICS_OF_NAMESPACE_RESPONSE_VALUE
public static final int GET_SCHEMA_VALUE
public static final int GET_SCHEMA_RESPONSE_VALUE
public static final int AUTH_CHALLENGE_VALUE
public static final int AUTH_RESPONSE_VALUE
public static final int ACK_RESPONSE_VALUE
public static final int GET_OR_CREATE_SCHEMA_VALUE
public static final int GET_OR_CREATE_SCHEMA_RESPONSE_VALUE
public static final int NEW_TXN_VALUE
public static final int NEW_TXN_RESPONSE_VALUE
public static final int ADD_PARTITION_TO_TXN_VALUE
public static final int ADD_PARTITION_TO_TXN_RESPONSE_VALUE
public static final int ADD_SUBSCRIPTION_TO_TXN_VALUE
public static final int ADD_SUBSCRIPTION_TO_TXN_RESPONSE_VALUE
public static final int END_TXN_VALUE
public static final int END_TXN_RESPONSE_VALUE
public static final int END_TXN_ON_PARTITION_VALUE
public static final int END_TXN_ON_PARTITION_RESPONSE_VALUE
public static final int END_TXN_ON_SUBSCRIPTION_VALUE
public static final int END_TXN_ON_SUBSCRIPTION_RESPONSE_VALUE
public static BaseCommand.Type[] values()
for (BaseCommand.Type c : BaseCommand.Type.values()) System.out.println(c);
public static BaseCommand.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public static BaseCommand.Type valueOf(int n)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.