All Packages Class Hierarchy This Package Previous Next Index
Class AcmeNet.Assn2.ServiceThread
AcmeNet.Assn2.ServiceThread
- public class ServiceThread
A thread that services one client's connection to a Service.
- See Also:
- Service, ClientServerNI
-
ServiceThread(Service, Connection)
- Create a ServiceThread, but don't start it.
-
run()
- Called automatically when this thread is started.
ServiceThread
public ServiceThread(Service s,
Connection c)
- Create a ServiceThread, but don't start it. A separate call to the start method is required
to start the ServiceThread.
- Parameters:
- s - the service on whose behalf this thread is working
- c - a connection to the client that this thread is serving
run
public void run()
- Called automatically when this thread is started. Don't call this directly.
All Packages Class Hierarchy This Package Previous Next Index