Internet Chess ToolKit
v0.2.0

ictk.boardgame.chess.net.ics.event
Class ICSTellEvent

java.lang.Object
  extended byictk.boardgame.chess.net.ics.event.ICSEvent
      extended byictk.boardgame.chess.net.ics.event.ICSMessageEvent
          extended byictk.boardgame.chess.net.ics.event.ICSTellEvent

public class ICSTellEvent
extends ICSMessageEvent

Direct tells to the user through "tell" or "say".


Field Summary
 
Fields inherited from class ictk.boardgame.chess.net.ics.event.ICSEvent
AUTO_SALUTE_EVENT, AVAIL_INFO_EVENT, BOARD_SAY_EVENT, BOARD_UPDATE_EVENT, CHALLENGE_EVENT, CHANNEL_EVENT, DEBUG, GAME_CREATED_EVENT, GAME_NOTIFICATION_EVENT, GAME_RESULT_EVENT, HISTORY_EVENT, KIBITZ_EVENT, MATCH_REQUEST_EVENT, MOVE_LIST_EVENT, NUM_EVENTS, PLAYER_CONNECTION_EVENT, PLAYER_NOTIFICATION_EVENT, QTELL_EVENT, SAY_EVENT, SEEK_AD_EVENT, SEEK_AD_READABLE_EVENT, SEEK_CLEAR_EVENT, SEEK_REMOVE_EVENT, SEEK_REMOVE_READABLE_EVENT, SHOUT_EVENT, TAKEBACK_REQUEST_EVENT, TOURNAMENT_CHANNEL_EVENT, UNKNOWN_EVENT, USER_DEFINED_EVENT, WHISPER_EVENT
 
Constructor Summary
ICSTellEvent()
           
 
Method Summary
 ICSAccountType getAccountType()
           
 java.lang.String getMessage()
          returns a non-parseable string associated with this message, or if an error in the parsing as occured setting the message type to UNKNOWN_EVENT then this will contain the entire original event string.
 java.lang.String getPlayer()
           
 java.lang.String getReadable()
          returns a readable form of this event.
 void setAccountType(ICSAccountType acctType)
           
 void setMessage(java.lang.String mesg)
          sets a non-parseable string associated with this message, or if an error in the parsing as occured setting the message type to UNKNOWN_EVENT then this will contain the entire original event string.
 void setPlayer(java.lang.String player)
          sets the author of this message
 
Methods inherited from class ictk.boardgame.chess.net.ics.event.ICSEvent
DEBUG_getOriginal, getEventParser, getEventType, getServer, getTimestamp, isFake, setEventParser, setEventType, setFake, setOriginal, setServer, setTimestamp, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ICSTellEvent

public ICSTellEvent()
Method Detail

getPlayer

public java.lang.String getPlayer()
Overrides:
getPlayer in class ICSMessageEvent

getAccountType

public ICSAccountType getAccountType()

getMessage

public java.lang.String getMessage()
Description copied from class: ICSEvent
returns a non-parseable string associated with this message, or if an error in the parsing as occured setting the message type to UNKNOWN_EVENT then this will contain the entire original event string.

Overrides:
getMessage in class ICSEvent

setPlayer

public void setPlayer(java.lang.String player)
Description copied from class: ICSMessageEvent
sets the author of this message

Overrides:
setPlayer in class ICSMessageEvent

setAccountType

public void setAccountType(ICSAccountType acctType)

setMessage

public void setMessage(java.lang.String mesg)
Description copied from class: ICSEvent
sets a non-parseable string associated with this message, or if an error in the parsing as occured setting the message type to UNKNOWN_EVENT then this will contain the entire original event string.

Overrides:
setMessage in class ICSEvent

getReadable

public java.lang.String getReadable()
Description copied from class: ICSEvent
returns a readable form of this event. Typically this is similar to the original text sent by the server, but it does not have to be.

Specified by:
getReadable in class ICSEvent

Submit a bug or feature
Visit the Website
Internet Chess ToolKit is licensed under the GPL v2 .