iglu.net
Interface ClientCreator
- public interface ClientCreator
Provides an interface for writing classes to provide client threads to the
PortServer class. This interface was created essentially so that you
don't have to write a descendant object of the PortServer class just so
that you can tell a server what kind of clients to create. See
documentation on PortServer for an example on how to use this interface.
- Since:
- February 2000
- Version:
- 0.1
- Author:
- Travis Bauer
trbauer@indiana.edu
Method Summary |
ClientHandler |
CreateClient(java.net.Socket client,
PortServer myServer)
returns an object descended from ClientHandler which knows how to
create client threads to handle client connections to the server's port. |
CreateClient
public ClientHandler CreateClient(java.net.Socket client,
PortServer myServer)
throws java.io.IOException
- returns an object descended from ClientHandler which knows how to
create client threads to handle client connections to the server's port.
- Parameters:
client
- The name of the socket this client should handle.myServer
- The name of the server.
- Throws:
java.io.IOException