public abstract class BaseProtocolController
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
BaseProtocolController.OnNotifyToSendListener |
| Modifier and Type | Field and Description |
|---|---|
protected BaseProtocolController.OnNotifyToSendListener |
mOnNotifyToSendListener |
| Constructor and Description |
|---|
BaseProtocolController() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
add(ApiCommandDeque apiCommandDeque) |
abstract void |
parseCommand(ProtocolPackage protocolPackage) |
void |
setOnNotifyToSendListener(BaseProtocolController.OnNotifyToSendListener onNotifyToSendListener) |
abstract void |
start() |
abstract void |
stop() |
protected BaseProtocolController.OnNotifyToSendListener mOnNotifyToSendListener
public abstract void add(ApiCommandDeque apiCommandDeque)
public abstract void start()
public abstract void stop()
public abstract void parseCommand(ProtocolPackage protocolPackage)
public void setOnNotifyToSendListener(BaseProtocolController.OnNotifyToSendListener onNotifyToSendListener)