|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infoservice.mailsystem.central.server.ConnectionHandle
public class ConnectionHandle
This is the implementation for handling new connections. It does some general stuff and will look for a server implementation which will process the client request.
Constructor Summary | |
---|---|
ConnectionHandle(java.net.Socket a_newConnection,
IServerImplementationFactory a_serverImplementationFactory)
Handles a new incoming connection from a client. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionHandle(java.net.Socket a_newConnection, IServerImplementationFactory a_serverImplementationFactory)
a_newConnection
- A socket connected to a client. If this value is null, nothing is
is done.a_serverImplementationFactory
- The factory creating the server implementation for
processing the client request. If this value is null or
the factory doesn't return a valid server
implementation, the connection will be closed
immediately.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |