org.jbrain.qlink.cmd.action
Class AbstractChatAction

java.lang.Object
  |
  +--org.jbrain.qlink.cmd.AbstractCommand
        |
        +--org.jbrain.qlink.cmd.action.AbstractAction
              |
              +--org.jbrain.qlink.cmd.action.AbstractChatAction
All Implemented Interfaces:
Action, Command
Direct Known Subclasses:
CA, CB, CE, ChatSend, CL, GamePlayer, GameSend, PlayerDeclinedInvite, PlayerInGameError, PlayerNoResponse

public class AbstractChatAction
extends AbstractAction


Field Summary
protected  int _iSeat
           
protected  java.lang.String _sData
           
 
Fields inherited from class org.jbrain.qlink.cmd.action.AbstractAction
CMD_ACTION
 
Fields inherited from class org.jbrain.qlink.cmd.AbstractCommand
_iCalculatedCRC, _iReportedCRC
 
Fields inherited from interface org.jbrain.qlink.cmd.Command
CMD_START
 
Constructor Summary
AbstractChatAction(byte[] data, int start, int len)
           
AbstractChatAction(java.lang.String mnemonic, int seat, java.lang.String data)
           
 
Method Summary
 byte[] getBytes()
           
 
Methods inherited from class org.jbrain.qlink.cmd.action.AbstractAction
finalizeCmd, getAction, getBytes, getName, getString
 
Methods inherited from class org.jbrain.qlink.cmd.AbstractCommand
getCommand, getRecvSequence, getSendSequence, setRecvSequence, setSendSequence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbrain.qlink.cmd.Command
getCommand, getRecvSequence, getSendSequence, setRecvSequence, setSendSequence
 

Field Detail

_sData

protected java.lang.String _sData

_iSeat

protected int _iSeat
Constructor Detail

AbstractChatAction

public AbstractChatAction(java.lang.String mnemonic,
                          int seat,
                          java.lang.String data)

AbstractChatAction

public AbstractChatAction(byte[] data,
                          int start,
                          int len)
                   throws CRCException
Method Detail

getBytes

public byte[] getBytes()
Specified by:
getBytes in interface Command
Overrides:
getBytes in class AbstractAction