|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionFactory
Interface provided by server session factory. A server session factory manage
a set of ServerSocket
. When an connection is open on one of this
server socket, a new server session is created and passed to the protocol
component through the ConnectionManager
interface.
Field Summary | |
---|---|
static String |
ITF_NAME
The commonly used name of this interface. |
Method Summary | |
---|---|
void |
addServerSocket(ServerSocket serverSocket,
IPExportIdentifier identifier)
Adds a new server socket. |
void |
removeServerSocket(IPExportIdentifier identifier)
Removes and closes the server socket associated with the given identifier. |
Field Detail |
---|
static final String ITF_NAME
Method Detail |
---|
void addServerSocket(ServerSocket serverSocket, IPExportIdentifier identifier)
serverSocket
- the server socket.identifier
- the export identifier associated with the server socket.void removeServerSocket(IPExportIdentifier identifier) throws InvalidExportIdentifierException
identifier
- an identifier of a previously added server socket.
InvalidExportIdentifierException
- if the given export identifier is
unknown.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |