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