public interface TcpIpSrvConnectionFactory
Modifier and Type | Method and Description |
---|---|
void |
close()
Tells the factory to release the server socket.
|
String |
getHostName()
Returns the host name of the encapsulated socket.
|
int |
getPort()
Returns the local port of the encapsulated socket.
|
IpConnection |
newSrvConnection(IpSession session)
Returns a new connection for the provided session, obtained from the
encapuslated server socket.
|
IpConnection newSrvConnection(IpSession session) throws org.objectweb.jonathan.apis.kernel.JonathanException
session
- an IpSession.org.objectweb.jonathan.apis.kernel.JonathanException
- if an error occurs.int getPort()
String getHostName()
void close()