org.opcfoundation.ua.utils.asyncsocket
Interface ListenableSocketChannel.ConnectionListener
- Enclosing class:
- ListenableSocketChannel
public static interface ListenableSocketChannel.ConnectionListener
onConnected
void onConnected(ListenableSocketChannel sender)
- This event is triggered when an incoming connection has been
established, or when there was an error in connect attempt.
The implementor must invoke getChannel().finishConnect()
to determine which was the case.
- Parameters:
sender - sender
onConnectFailed
void onConnectFailed(ListenableSocketChannel sender,
IOException error)
Copyright © 2018. All rights reserved.