public interface TcpExtension
TcpExtension is part of Service Provider Interface (SPI) for TCP transport extension developers.
When TCP URI is bound, an instance of this class may be created using the corresponding
TcpExtensionFactorySpi that is registered through META-INF/services. This class can perform actions during
IoSession initialization when a client connects to the bound TCP URI, for example, if could add a filter to the
filter chain.| Modifier and Type | Method and Description |
|---|---|
void |
initializeSession(org.apache.mina.core.session.IoSession session)
Called to give the extension an opportunity to act on each new client connection
|
Copyright © 2014–2017. All rights reserved.