|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TcpIpSrvConnectionFactory
TcpIpSrvConnectionFactory encapsulates a server socket.
| Method Summary | |
|---|---|
void |
close()
Tells the factory to release the server socket. |
java.lang.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. |
| Method Detail |
|---|
IpConnection newSrvConnection(IpSession session)
throws JonathanException
session - an IpSession.
JonathanException - if an error occurs.int getPort()
java.lang.String getHostName()
void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||