
Public Methods | |
| IpConnection | newSrvConnection (IpSession session) throws JonathanException |
| int | getPort () |
| String | getHostName () |
| void | close () |
Definition at line 35 of file TcpIpSrvConnectionFactory.java.
|
|
Tells the factory to release the server socket. Reimplemented in SrvConnectionFactory, IPv4ConnectionFactory::SrvConnectionFactory, and JConnectionMgr::SrvConnectionFactory. Referenced by JConnectionMgr::SrvConnectionFactory::close(), SrvConnectionFactory::close(), and TcpIpProtocol::SrvSessionId::unexport(). |
|
|
Returns the host name of the encapsulated socket.
Reimplemented in SrvConnectionFactory, IPv4ConnectionFactory::SrvConnectionFactory, and JConnectionMgr::SrvConnectionFactory. Referenced by TcpIpProtocol::SrvSessionId::SrvSessionId(), JConnectionMgr::SrvConnectionFactory::getHostName(), and SrvConnectionFactory::getHostName(). |
|
|
Returns the local port of the encapsulated socket.
Reimplemented in SrvConnectionFactory, IPv4ConnectionFactory::SrvConnectionFactory, and JConnectionMgr::SrvConnectionFactory. Referenced by TcpIpProtocol::SrvSessionId::SrvSessionId(), JConnectionMgr::SrvConnectionFactory::getPort(), and SrvConnectionFactory::getPort(). |
|
|
Returns a new connection for the provided session, obtained from the encapuslated server socket.
Reimplemented in SrvConnectionFactory, IPv4ConnectionFactory::SrvConnectionFactory, and JConnectionMgr::SrvConnectionFactory. Referenced by JConnectionMgr::SrvConnectionFactory::newSrvConnection(), SrvConnectionFactory::newSrvConnection(), and TcpIpProtocol::SrvSessionFactory::run(). |
1.2.6 written by Dimitri van Heesch,
© 1997-2001