public abstract class Team3Event<T>
extends java.lang.Object
Constructor and Description |
---|
Team3Event(Team3GNetPlusParams.CommandCode commandCode,
Team3GNetPlusParams.EventType eventID,
Team3Event successor) |
Modifier and Type | Method and Description |
---|---|
protected void |
notifyEventComplete() |
protected void |
notifyEventReceived(Team3GNetPlusParams.Result result,
T data) |
protected abstract void |
onParse(Team3GNetPlusParams.Result result,
byte[] parameter) |
void |
parse(Team3GNetPlusPackage protocolPackage) |
void |
setOnEventCompleteListener(OnEventCompleteListener onEventCompleteListener) |
void |
setOnEventReceivedListener(OnEventReceivedListener<T> onEventReceivedListener) |
void |
setSuccessor(Team3Event successor) |
public Team3Event(Team3GNetPlusParams.CommandCode commandCode, Team3GNetPlusParams.EventType eventID, Team3Event successor)
public void setOnEventReceivedListener(OnEventReceivedListener<T> onEventReceivedListener)
public void setOnEventCompleteListener(OnEventCompleteListener onEventCompleteListener)
public void setSuccessor(Team3Event successor)
public void parse(Team3GNetPlusPackage protocolPackage) throws ErrorParameterException
ErrorParameterException
protected abstract void onParse(Team3GNetPlusParams.Result result, byte[] parameter) throws ErrorParameterException
ErrorParameterException
protected void notifyEventReceived(Team3GNetPlusParams.Result result, T data)
protected void notifyEventComplete()