Package org.elasticsearch.transport.nio
Class TestEventHandler
java.lang.Object
org.elasticsearch.nio.EventHandler
org.elasticsearch.transport.nio.TestEventHandler
-
Field Summary
Fields inherited from class org.elasticsearch.nio.EventHandler
exceptionHandler -
Method Summary
Modifier and TypeMethodDescriptionprotected voidacceptChannel(ServerChannelContext context) protected voidacceptException(ServerChannelContext context, Exception exception) protected voidactiveException(ChannelContext<?> context, Exception exception) protected voidcloseException(ChannelContext<?> context, Exception exception) voidconnectException(SocketChannelContext context, Exception e) protected voidgenericChannelException(ChannelContext<?> context, Exception exception) protected voidhandleActive(ChannelContext<?> context) protected voidhandleClose(ChannelContext<?> context) voidhandleConnect(SocketChannelContext context) protected voidhandleRead(SocketChannelContext context) protected voidhandleRegistration(ChannelContext<?> context) protected voidhandleTask(Runnable task) protected voidhandleWrite(SocketChannelContext context) protected voidreadException(SocketChannelContext context, Exception exception) protected voidregistrationException(ChannelContext<?> context, Exception exception) protected voidtaskException(Exception exception) protected voidwriteException(SocketChannelContext context, Exception exception) Methods inherited from class org.elasticsearch.nio.EventHandler
postHandling, selectorException, uncaughtException
-
Method Details
-
acceptChannel
- Overrides:
acceptChannelin classEventHandler- Throws:
IOException
-
acceptException
- Overrides:
acceptExceptionin classEventHandler
-
handleRegistration
- Overrides:
handleRegistrationin classEventHandler- Throws:
IOException
-
registrationException
- Overrides:
registrationExceptionin classEventHandler
-
handleActive
- Overrides:
handleActivein classEventHandler- Throws:
IOException
-
activeException
- Overrides:
activeExceptionin classEventHandler
-
handleConnect
- Overrides:
handleConnectin classEventHandler- Throws:
IOException
-
connectException
- Overrides:
connectExceptionin classEventHandler
-
handleRead
- Overrides:
handleReadin classEventHandler- Throws:
IOException
-
readException
- Overrides:
readExceptionin classEventHandler
-
handleWrite
- Overrides:
handleWritein classEventHandler- Throws:
IOException
-
writeException
- Overrides:
writeExceptionin classEventHandler
-
handleTask
- Overrides:
handleTaskin classEventHandler
-
taskException
- Overrides:
taskExceptionin classEventHandler
-
handleClose
- Overrides:
handleClosein classEventHandler- Throws:
IOException
-
closeException
- Overrides:
closeExceptionin classEventHandler
-
genericChannelException
- Overrides:
genericChannelExceptionin classEventHandler
-