public interface SocketConnectionListener
SocketFactory
instances to implement that wish to be notified of
connection completion. This will mainly be for security issues.Modifier and Type | Method and Description |
---|---|
void |
connected(InetSocketAddress connectedTo,
Socket connection)
Notification that the socket is now connected to the specified
InetSocketAddress.
|
void connected(InetSocketAddress connectedTo, Socket connection) throws SocketException
connectedTo
- The address the socket has been connected to.connection
- The socket connection.SocketException
- On a failure configuring the socket.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.