Class Netty4TcpServerChannel

java.lang.Object
org.elasticsearch.transport.netty4.Netty4TcpServerChannel
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, org.elasticsearch.common.network.CloseableChannel, org.elasticsearch.transport.TcpServerChannel

public class Netty4TcpServerChannel
extends java.lang.Object
implements org.elasticsearch.transport.TcpServerChannel
  • Method Summary

    Modifier and Type Method Description
    void addCloseListener​(org.elasticsearch.action.ActionListener<java.lang.Void> listener)  
    void close()  
    java.net.InetSocketAddress getLocalAddress()  
    boolean isOpen()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • getLocalAddress

      public java.net.InetSocketAddress getLocalAddress()
      Specified by:
      getLocalAddress in interface org.elasticsearch.transport.TcpServerChannel
    • close

      public void close()
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable
      Specified by:
      close in interface org.elasticsearch.common.network.CloseableChannel
    • addCloseListener

      public void addCloseListener​(org.elasticsearch.action.ActionListener<java.lang.Void> listener)
      Specified by:
      addCloseListener in interface org.elasticsearch.common.network.CloseableChannel
    • isOpen

      public boolean isOpen()
      Specified by:
      isOpen in interface org.elasticsearch.common.network.CloseableChannel
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object