com.hazelcast.nio.tcp

## Class TcpIpAcceptor

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

- All Implemented Interfaces:
    com.hazelcast.internal.metrics.MetricsProvider

      public class TcpIpAcceptor
      extends Object
      implements com.hazelcast.internal.metrics.MetricsProvider

  Contains the logic for accepting TcpIpConnections. The `TcpIpAcceptor` and `TcpIpConnector` are 2 sides of the same coin. The `TcpIpConnector` take care of the 'client' side of a connection and the `TcpIpAcceptor` is the 'server' side of a connection (each connection has a client and server-side

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TcpIpAcceptor(ServerSocketChannel serverSocketChannel, TcpIpConnectionManager connectionManager)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `provideMetrics(com.hazelcast.internal.metrics.MetricsRegistry registry)`
    `void` | `shutdown()`
    `TcpIpAcceptor` | `start()`

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

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

- - ### Constructor Detail

    - #### TcpIpAcceptor

          public TcpIpAcceptor(ServerSocketChannel serverSocketChannel,
                               TcpIpConnectionManager connectionManager)

  - ### Method Detail

    - #### provideMetrics

          public void provideMetrics(com.hazelcast.internal.metrics.MetricsRegistry registry)

      Specified by:
        `provideMetrics` in interface `com.hazelcast.internal.metrics.MetricsProvider`

    - #### start

          public TcpIpAcceptor start()

    - #### shutdown

          public void shutdown()

Copyright © 2018. All rights reserved.