public class SocketCustomizationListener extends Object implements Connection.Listener
Instances of this listener may be added to a Connector (or
ConnectionFactory) so that they are applied to all connections
for that connector (or protocol) and thus allow additional Socket
configuration to be applied by implementing customize(Socket, Class, boolean)
Connection.Listener.Adapter| Constructor and Description |
|---|
SocketCustomizationListener()
Construct with SSL unwrapping on.
|
SocketCustomizationListener(boolean ssl) |
| Modifier and Type | Method and Description |
|---|---|
void |
onClosed(Connection connection) |
void |
onOpened(Connection connection) |
public SocketCustomizationListener()
public SocketCustomizationListener(boolean ssl)
ssl - If True, then a Socket underlying an SSLConnection is unwrapped
and notified.public void onOpened(Connection connection)
onOpened in interface Connection.Listenerpublic void onClosed(Connection connection)
onClosed in interface Connection.ListenerCopyright © 2010 - 2020 Adobe. All Rights Reserved