org.eclipse.ecf.provider.comm
Interface IConnectRequestHandler
- All Known Implementing Classes:
- GenericServerContainer, TCPServerSOContainer
public interface IConnectRequestHandler
Connection request handler
handleConnectRequest
java.io.Serializable handleConnectRequest(java.net.Socket aSocket,
java.lang.String target,
java.io.Serializable data,
ISynchAsynchConnection conn)
- Handle a connect request from remote client
- Parameters:
aSocket
- the Socket that the request came in ontarget
- the target that the request is intended fordata
- any data that was sent along with request (e.g. password or
other authentication data)conn
- the connection instance that received the request
- Returns:
- any data intended as a response. If null is returned, this
typically means refusal of connect request