com.hazelcast.nio.tcp

## Class UnifiedChannelInitializer

- java.lang.Object
- - com.hazelcast.nio.tcp.UnifiedChannelInitializer

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

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

  A `ChannelInitializer` that runs on a member and used for unencrypted channels. It will deal with the exchange of protocols and based on that it will set up the appropriate handlers in the pipeline.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UnifiedChannelInitializer(IOService ioService)`

  - ### 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

    - #### UnifiedChannelInitializer

          public UnifiedChannelInitializer(IOService ioService)

  - ### 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.