org.fusesource.hawtdispatch.transport
Class ServiceBase
java.lang.Object
org.fusesource.hawtdispatch.transport.ServiceBase
- Direct Known Subclasses:
- TcpTransport, UdpTransport, UdpTransportServer
public abstract class ServiceBase
- extends Object
The BaseService provides helpers for dealing async service state.
- Author:
- Hiram Chirino
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CREATED
public static final ServiceBase.State CREATED
STARTED
public static final ServiceBase.State STARTED
STOPPED
public static final ServiceBase.State STOPPED
_serviceState
protected ServiceBase.State _serviceState
ServiceBase
public ServiceBase()
start
@Deprecated
public final void start(Runnable onCompleted)
- Deprecated.
start
public final void start(Task onCompleted)
stop
@Deprecated
public final void stop(Runnable onCompleted)
- Deprecated.
stop
public final void stop(Task onCompleted)
getServiceState
protected ServiceBase.State getServiceState()
getDispatchQueue
protected abstract DispatchQueue getDispatchQueue()
_start
protected abstract void _start(Task onCompleted)
_stop
protected abstract void _stop(Task onCompleted)
Copyright © 2010-2012 FuseSource, Corp.. All Rights Reserved.