com.hazelcast.nio.tcp

## Class TextHandshakeDecoder

- java.lang.Object
- - com.hazelcast.internal.networking.ChannelHandler<com.hazelcast.internal.networking.InboundHandler,S,D>
  - - com.hazelcast.internal.networking.InboundHandler<ByteBuffer,Void>
    - - com.hazelcast.nio.tcp.SingleProtocolDecoder
      - - com.hazelcast.nio.tcp.TextHandshakeDecoder

-     public class TextHandshakeDecoder
      extends SingleProtocolDecoder

- - ### Field Summary

    - ### Fields inherited from class com.hazelcast.nio.tcp.SingleProtocolDecoder

      `inboundHandlers, supportedProtocol`

    - ### Fields inherited from class com.hazelcast.internal.networking.ChannelHandler

      `channel, dst, src`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TextHandshakeDecoder(ProtocolType supportedProtocol, com.hazelcast.internal.networking.InboundHandler next)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `setupNextDecoder()`
    `protected void` | `verifyProtocol(String incomingProtocol)`

    - ### Methods inherited from class com.hazelcast.nio.tcp.SingleProtocolDecoder

      `handlerAdded, onRead`

    - ### Methods inherited from class com.hazelcast.internal.networking.InboundHandler

      `initSrcBuffer, initSrcBuffer`

    - ### Methods inherited from class com.hazelcast.internal.networking.ChannelHandler

      `dst, dst, interceptError, setChannel, src, src`

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

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

- - ### Constructor Detail

    - #### TextHandshakeDecoder

          public TextHandshakeDecoder(ProtocolType supportedProtocol,
                                      com.hazelcast.internal.networking.InboundHandler next)

  - ### Method Detail

    - #### verifyProtocol

          protected void verifyProtocol(String incomingProtocol)

      Overrides:
        `verifyProtocol` in class `SingleProtocolDecoder`

    - #### setupNextDecoder

          protected void setupNextDecoder()

      Overrides:
        `setupNextDecoder` in class `SingleProtocolDecoder`

Copyright © 2019. All rights reserved.