All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hivemq.bootstrap.netty.ChannelHandlerNames Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019-present HiveMQ GmbH
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hivemq.bootstrap.netty;

/**
 * @author Dominik Obermaier
 * @author Christoph Schäbel
 * @author Lukas Brandl
 */
public class ChannelHandlerNames {


    /* *************
     *   Ingoing   *
     ***************/

    public static final String ALL_CHANNELS_GROUP_HANDLER = "all_channel_group_handler";

    public static final String MQTT_MESSAGE_DECODER = "mqtt_message_decoder";

    public static final String GLOBAL_THROTTLING_HANDLER = "global_throttling_handler";

    public static final String NEW_CONNECTION_IDLE_HANDLER = "new_connection_idle_handler";
    public static final String NO_CONNECT_IDLE_EVENT_HANDLER = "no_connect_idle_event_handler";
    public static final String NO_TLS_HANDSHAKE_IDLE_EVENT_HANDLER = "no_tls_handshake_idle_event_handler";

    public static final String MQTT_5_FLOW_CONTROL_HANDLER = "mqtt_5_flow_control_handler";

    public static final String MQTT_CONNECT_HANDLER = "mqtt_connect_handler";

    public static final String MQTT_DISCONNECT_HANDLER = "mqtt_disconnect_handler";
    public static final String MQTT_SUBSCRIBE_HANDLER = "mqtt_subscribe_handler";
    public static final String MQTT_UNSUBSCRIBE_HANDLER = "mqtt_unsubscribe_handler";
    public static final String MQTT_PINGREQ_HANDLER = "mqtt_pingreq_handler";

    public static final String MQTT_PUBLISH_FLOW_HANDLER = "mqtt_publish_flow_handler";

    public static final String MQTT_DISALLOW_SECOND_CONNECT = "mqtt_disallow_second_connect";

    public static final String MQTT_KEEPALIVE_IDLE_NOTIFIER_HANDLER = "mqtt_keepalive_idle_notifier_handler";
    public static final String MQTT_KEEPALIVE_IDLE_HANDLER = "mqtt_keepalive_idle_handler";

    public static final String HTTP_SERVER_CODEC = "http_server_codec";
    public static final String HTTP_OBJECT_AGGREGATOR = "http_object_aggregator";
    public static final String WEBSOCKET_SERVER_PROTOCOL_HANDLER = "websocket_server_protocol_handler";
    public static final String WEBSOCKET_BINARY_FRAME_HANDLER = "websocket_binary_frame_handler";
    public static final String WEBSOCKET_CONTINUATION_FRAME_HANDLER = "websocket_continuation_frame_handler";
    public static final String WEBSOCKET_TEXT_FRAME_HANDLER = "websocket_text_frame_handler";

    public static final String SSL_EXCEPTION_HANDLER = "ssl_exception_handler";
    public static final String SSL_HANDLER = "ssl_handler";
    public static final String NON_SSL_HANDLER = "no_ssl_handler";
    public static final String SSL_CLIENT_CERTIFICATE_HANDLER = "ssl_client_certificate_handler";
    public static final String SSL_PARAMETER_HANDLER = "ssl_parameter_handler";

    public static final String MQTT_AUTH_HANDLER = "mqtt_auth_handler";
    public static final String AUTH_IN_PROGRESS_MESSAGE_HANDLER = "auth_in_progress_message_handler";
    public static final String PUBLISH_FLUSH_HANDLER = "mqtt_publish_flush";

    /* *************
     *   Outgoing  *
     ***************/

    public static final String MQTT_MESSAGE_ENCODER = "mqtt_message_encoder";
    public static final String MQTT_WEBSOCKET_ENCODER = "mqtt_websocket_encoder";
    public static final String MESSAGE_EXPIRY_HANDLER = "message_expiry_handler";

    /* *************
     *     Both    *
     ***************/

    public static final String MQTT_MESSAGE_BARRIER = "mqtt_message_barrier";
    public static final String MQTT_SUBSCRIBE_MESSAGE_BARRIER = "mqtt_subscribe_message_barrier";

    /* *************
     *   Extensions   *
     ***************/

    public static final String PLUGIN_INITIALIZER_HANDLER = "plugin_initializer_handler";
    public static final String CLIENT_LIFECYCLE_EVENT_HANDLER = "client_lifecycle_event_handler";
    public static final String CONNECT_INBOUND_INTERCEPTOR_HANDLER = "connect_inbound_interceptor_handler";

    /* *************
     *     Misc    *
     ***************/

    public static final String EXCEPTION_HANDLER = "exception_handler";
    public static final String CONNECTION_LIMITER = "connection_limiter";
    public static final String INTERCEPTOR_HANDLER = "interceptor_handler";


}






© 2015 - 2025 Weber Informatics LLC | Privacy Policy