public interface ISocketConnectedEvent extends ISocketEvent
Can be used to wrap a socket by calling setSocket(Socket)
.
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the ECF team.
Modifier and Type | Method and Description |
---|---|
void |
setSocket(java.net.Socket socket)
Sets a socket to be used by the app.
|
getFactorySocket, getSocket, getSource, isSameFactorySocket
void setSocket(java.net.Socket socket)
If this method is not called ISocketEvent.getFactorySocket()
and
ISocketEvent.getSocket()
will be the same.
Otherwise ISocketEvent.getSocket()
will return the passed in socket.
socket
- socket