diff --git a/src/reference/docbook/ip.xml b/src/reference/docbook/ip.xml index cdf7a55808..e8f4984122 100644 --- a/src/reference/docbook/ip.xml +++ b/src/reference/docbook/ip.xml @@ -428,14 +428,14 @@ All TcpConnection methods are intercepted. Interceptor instances are created for each connection by an interceptor factory. - If an interceptor is stateful, the factory should create a new instance for each connection. - Interceptor + If an interceptor is stateful, the factory should create a new instance for each connection; + if there is no state, the same interceptor can wrap each connection. Interceptor factories are added to the configuration of an interceptor factory chain, which is provided to a connection factory using the interceptor-factory attribute. - Interceptors must implement the TcpConnectionInterceptor interface; + Interceptors must extend TcpConnectionInterceptorSupport; factories - must implement the TcpConnectionInterceptorFactory interface. A - convenience class AbstractTcpConnectionInterceptor is provided + must implement the TcpConnectionInterceptorFactory interface. + TcpConnectionInterceptorSupport is provided with passthrough methods; by extending this class, you only need to implement those methods you wish to intercept.