Interface | Description |
---|---|
CommandHandler<Session extends ProtocolSession> |
Custom command handlers must implement this interface
The command handlers will be Server wide common to all the handlers,
therefore the command handlers must store all the state information
in the Session object
|
ConnectHandler<Session extends ProtocolSession> |
Custom connect handlers must implement this interface
The connect handlers will be server-wide common to all the Handlers ,
therefore the handlers must store all the state information
in the Session object
|
DisconnectHandler<S extends ProtocolSession> |
A
DisconnectHandler will get called once a client gets disconnected from the server |
ExtensibleHandler |
Handlers implement this interface to be notified of available
extensions of the given type.
|
LifecycleAwareProtocolHandler |
This interface allows to handle lifecycles for handlers and hooks
|
LineHandler<Session extends ProtocolSession> |
Implementations of this Interface will get called after a full line (terminated with
ProtocolSession.getLineDelimiter() ) was received. |
ProtocolHandler |
Just the base interface for all kind of "protocol" handlers.
|
ProtocolHandlerChain |
Chain which can be used to get all Handlers for a given Class.
|
ProtocolHandlerResultHandler<R extends Response,S extends ProtocolSession> |
An special
ProtocolHandler which allows to intercept returned Response 's and act on them. |
Class | Description |
---|---|
AbstractProtocolHandlerChain |
Abstract base class for
ProtocolHandlerChain implementations |
CommandDispatcher<Session extends ProtocolSession> |
A CommandDispatcher is responsible to call the right
CommandHandler for a given Command |
CommandHandlerResultLogger | |
MultiLineHandler<S extends ProtocolSession> |
A special
LineHandler which will "buffer" the received lines till a point and the push them all at
one to the MultiLineHandler.onLines(ProtocolSession, Collection) method |
ProtocolHandlerChainImpl |
AbstractProtocolHandlerChain which is mutable till the
ProtocolHandlerChainImpl.wireExtensibleHandlers() is called. |
UnknownCommandHandler<S extends ProtocolSession> |
A special
CommandHandler implementation which should be extended by CommandHandler 's which should get called for unknown command. |
Exception | Description |
---|---|
WiringException |
Indicates an issue prevent the successful wiring of the components in the ProtocolHandlerChain.
|
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.