Internet Chess ToolKit
v0.2.0

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

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.ICSChannelEvent

public class ICSChannelEvent
extends ICSMessageEvent

This coorisponds to Channel tells, Shouts, Emote Shouts, T-Shouts, C-Shouts, S-Shouts, T-Channel tells, etc.


Field Summary
static int CSHOUT_CHANNEL
          if the channel event is a shout then the channel number indicates what type of shout
static int EMOTE_CHANNEL
          if the channel event is a shout then the channel number indicates what type of shout
static int SHOUT_CHANNEL
          if the channel event is a shout then the channel number indicates what type of shout
static int SSHOUT_CHANNEL
          if the channel event is a shout then the channel number indicates what type of shout
static int TSHOUT_CHANNEL
          if the channel event is a shout then the channel number indicates what type of shout
 
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, 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, TELL_EVENT, TOURNAMENT_CHANNEL_EVENT, UNKNOWN_EVENT, USER_DEFINED_EVENT, WHISPER_EVENT
 
Constructor Summary
ICSChannelEvent()
           
 
Method Summary
 ICSAccountType getAccountType()
           
 int getChannel()
           
 java.lang.String getPlayer()
           
 java.lang.String getReadable()
          returns a readable form of this event.
 void setAccountType(ICSAccountType acctType)
           
 void setChannel(int channel)
           
 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, getMessage, getServer, getTimestamp, isFake, setEventParser, setEventType, setFake, setMessage, setOriginal, setServer, setTimestamp, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SHOUT_CHANNEL

public static final int SHOUT_CHANNEL
if the channel event is a shout then the channel number indicates what type of shout

See Also:
Constant Field Values

EMOTE_CHANNEL

public static final int EMOTE_CHANNEL
if the channel event is a shout then the channel number indicates what type of shout

See Also:
Constant Field Values

CSHOUT_CHANNEL

public static final int CSHOUT_CHANNEL
if the channel event is a shout then the channel number indicates what type of shout

See Also:
Constant Field Values

SSHOUT_CHANNEL

public static final int SSHOUT_CHANNEL
if the channel event is a shout then the channel number indicates what type of shout

See Also:
Constant Field Values

TSHOUT_CHANNEL

public static final int TSHOUT_CHANNEL
if the channel event is a shout then the channel number indicates what type of shout

See Also:
Constant Field Values
Constructor Detail

ICSChannelEvent

public ICSChannelEvent()
Method Detail

getPlayer

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

getAccountType

public ICSAccountType getAccountType()

getChannel

public int getChannel()

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)

setChannel

public void setChannel(int channel)

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 .