Class TestEventHandler

java.lang.Object
org.elasticsearch.nio.EventHandler
org.elasticsearch.transport.nio.TestEventHandler

public class TestEventHandler extends org.elasticsearch.nio.EventHandler
  • Method Details

    • acceptChannel

      protected void acceptChannel(org.elasticsearch.nio.ServerChannelContext context) throws IOException
      Overrides:
      acceptChannel in class org.elasticsearch.nio.EventHandler
      Throws:
      IOException
    • acceptException

      protected void acceptException(org.elasticsearch.nio.ServerChannelContext context, Exception exception)
      Overrides:
      acceptException in class org.elasticsearch.nio.EventHandler
    • handleRegistration

      protected void handleRegistration(org.elasticsearch.nio.ChannelContext<?> context) throws IOException
      Overrides:
      handleRegistration in class org.elasticsearch.nio.EventHandler
      Throws:
      IOException
    • registrationException

      protected void registrationException(org.elasticsearch.nio.ChannelContext<?> context, Exception exception)
      Overrides:
      registrationException in class org.elasticsearch.nio.EventHandler
    • handleActive

      protected void handleActive(org.elasticsearch.nio.ChannelContext<?> context) throws IOException
      Overrides:
      handleActive in class org.elasticsearch.nio.EventHandler
      Throws:
      IOException
    • activeException

      protected void activeException(org.elasticsearch.nio.ChannelContext<?> context, Exception exception)
      Overrides:
      activeException in class org.elasticsearch.nio.EventHandler
    • handleConnect

      public void handleConnect(org.elasticsearch.nio.SocketChannelContext context) throws IOException
      Overrides:
      handleConnect in class org.elasticsearch.nio.EventHandler
      Throws:
      IOException
    • connectException

      public void connectException(org.elasticsearch.nio.SocketChannelContext context, Exception e)
      Overrides:
      connectException in class org.elasticsearch.nio.EventHandler
    • handleRead

      protected void handleRead(org.elasticsearch.nio.SocketChannelContext context) throws IOException
      Overrides:
      handleRead in class org.elasticsearch.nio.EventHandler
      Throws:
      IOException
    • readException

      protected void readException(org.elasticsearch.nio.SocketChannelContext context, Exception exception)
      Overrides:
      readException in class org.elasticsearch.nio.EventHandler
    • handleWrite

      protected void handleWrite(org.elasticsearch.nio.SocketChannelContext context) throws IOException
      Overrides:
      handleWrite in class org.elasticsearch.nio.EventHandler
      Throws:
      IOException
    • writeException

      protected void writeException(org.elasticsearch.nio.SocketChannelContext context, Exception exception)
      Overrides:
      writeException in class org.elasticsearch.nio.EventHandler
    • handleTask

      protected void handleTask(Runnable task)
      Overrides:
      handleTask in class org.elasticsearch.nio.EventHandler
    • taskException

      protected void taskException(Exception exception)
      Overrides:
      taskException in class org.elasticsearch.nio.EventHandler
    • handleClose

      protected void handleClose(org.elasticsearch.nio.ChannelContext<?> context) throws IOException
      Overrides:
      handleClose in class org.elasticsearch.nio.EventHandler
      Throws:
      IOException
    • closeException

      protected void closeException(org.elasticsearch.nio.ChannelContext<?> context, Exception exception)
      Overrides:
      closeException in class org.elasticsearch.nio.EventHandler
    • genericChannelException

      protected void genericChannelException(org.elasticsearch.nio.ChannelContext<?> context, Exception exception)
      Overrides:
      genericChannelException in class org.elasticsearch.nio.EventHandler