com.hazelcast.client.connection.nio

## Class ClientPlainChannelInitializer

- java.lang.Object
- - com.hazelcast.client.connection.nio.ClientPlainChannelInitializer

- All Implemented Interfaces:
    com.hazelcast.internal.networking.ChannelInitializer

      public class ClientPlainChannelInitializer
      extends Object
      implements com.hazelcast.internal.networking.ChannelInitializer

  Client side ChannelInitializer for connections without SSL/TLS. Client in this case is a real client using client protocol etc. It will automatically send the Client Protocol to the server and configure the correct buffers/handlers.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClientPlainChannelInitializer(SocketOptions socketOptions, boolean directBuffer)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `initChannel(com.hazelcast.internal.networking.Channel channel)` Initializes the channel.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ClientPlainChannelInitializer

          public ClientPlainChannelInitializer(SocketOptions socketOptions,
                                               boolean directBuffer)

  - ### Method Detail

    - #### initChannel

          public void initChannel(com.hazelcast.internal.networking.Channel channel)

      Description copied from interface: `com.hazelcast.internal.networking.ChannelInitializer`
      Initializes the channel. So it will set up the (initial) pipeline of handlers, configure the underlying transport (socket e.g.).
      Specified by:
        `initChannel` in interface `com.hazelcast.internal.networking.ChannelInitializer`
      Parameters:
        `channel` - the Channel to initialize.

Copyright © 2019. All rights reserved.