public abstract class Protocol extends java.lang.Object implements IProtocol
Modifier and Type | Field and Description |
---|---|
protected BaseTransport |
_baseTransport |
protected ResultCode |
_lastError |
protected static int |
DEBUG |
protected static int |
DETAIL |
protected static int |
INFO |
protected static int |
IO |
protected java.lang.String |
TAG |
Constructor and Description |
---|
Protocol(BaseTransport baseTransport) |
Modifier and Type | Method and Description |
---|---|
BaseTransport |
getTransport() |
abstract boolean |
start() |
abstract void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearBuffer, post, read, send, triggerEvent, write
protected static final int DEBUG
protected static final int DETAIL
protected static final int INFO
protected static final int IO
protected java.lang.String TAG
protected ResultCode _lastError
protected BaseTransport _baseTransport
public Protocol(BaseTransport baseTransport)
public BaseTransport getTransport()
public abstract boolean start()
public abstract void stop()