Interface ISocketConnectedEvent

All Superinterfaces:
Event, ISocketEvent
All Known Implementing Classes:

public interface ISocketConnectedEvent
extends ISocketEvent

Event issued after a socket successfully connected.

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.


Method Summary
 void setSocket( socket)
          Sets a socket to be used by the app.
Methods inherited from interface
getFactorySocket, getSocket, getSource, isSameFactorySocket

Method Detail


void setSocket( socket)
Sets a socket to be used by the app.

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 -