onReceiveMessage

public abstract boolean onReceiveMessage(Message message, int left, boolean offline, int cmdLeft)

Call this method only when receiving a new message type added by this module

Return

Whether the message has been processed by other modules

Parameters

message

The message

left

The remaining count of offline messages

offline

Whether in offline status

cmdLeft

The remaining count of command messages