|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientFactory
Method Summary | |
---|---|
java.net.ServerSocket |
createServerSocket()
Create the server socket for this client factory. |
void |
handleConnection(java.net.Socket socket)
Handle the given, new connection. |
void |
initialize(httpd server)
Initialize that client factory. |
void |
shutdown(boolean force)
Shutdown this client factory. |
Method Detail |
---|
void shutdown(boolean force)
force
- If true, force the shutdown, and stop
all operations in progress.void handleConnection(java.net.Socket socket)
socket
- The newly accepted connection.void initialize(httpd server)
server
- The httpd instance to be used as the context for
this client factory.java.net.ServerSocket createServerSocket() throws java.io.IOException
java.io.IOException
- If some IO error occurs while creating the
server socket.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |