edu.washington.cs.supple.net.server
Class AbstractService
java.lang.Object
edu.washington.cs.supple.net.server.AbstractService
- Direct Known Subclasses:
- RMIService
- public abstract class AbstractService
- extends java.lang.Object
Abstract superclass for service handlers. Service handlers implement
application serving for particular protocols - RMI, HTTP, SOAP, etc...
- Author:
- dbc1
|
Constructor Summary |
protected |
AbstractService(Server server,
java.lang.String loggingPackage,
java.lang.String resourceBundle)
|
|
Method Summary |
abstract void |
start()
Start the service. |
abstract void |
stop()
Stop the service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
server
protected final Server server
logger
protected final java.util.logging.Logger logger
AbstractService
protected AbstractService(Server server,
java.lang.String loggingPackage,
java.lang.String resourceBundle)
start
public abstract void start()
throws java.lang.Exception
- Start the service.
- Throws:
java.lang.Exception
stop
public abstract void stop()
throws java.lang.Exception
- Stop the service.
- Throws:
java.lang.Exception