Internet Chess ToolKit
v0.2.0

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

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

public class ICSSeekAdEvent
extends ICSEvent

A seek ad is an expressed intrest to play a game.


Field Summary
static int COLOR_BLACK
           
static int COLOR_UNSPECIFIED
           
static int COLOR_WHITE
           
 
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_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
ICSSeekAdEvent()
           
 
Method Summary
 ICSAccountType getAccountType()
           
 int getAdNumber()
           
 int getColor()
           
 int getIncrement()
           
 int getInitialTime()
           
 java.lang.String getPlayer()
           
 ICSRating getRating()
           
 int getRatingRangeHigh()
           
 int getRatingRangeLow()
           
 java.lang.String getReadable()
          returns a readable form of this event.
 ICSVariant getVariant()
           
 boolean isManual()
           
 boolean isNotification()
           
 boolean isRated()
           
 boolean isRestrictedByFormula()
           
 boolean meetsFormula()
           
 void meetsFormula(boolean meetsFormula)
           
 void setAccountType(ICSAccountType acctType)
           
 void setAdNumber(int number)
           
 void setColor(int color)
           
 void setIncrement(int incr)
           
 void setInitialTime(int time)
           
 void setManual(boolean manual)
           
 void setNotification(boolean notified)
           
 void setPlayer(java.lang.String player)
           
 void setRated(boolean rated)
           
 void setRating(ICSRating rating)
           
 void setRatingRangeHigh(int rangeHigh)
           
 void setRatingRangeLow(int rangeLow)
           
 void setRestrictedByFormula(boolean isRestrictedByFormula)
           
 void setVariant(ICSVariant variant)
           
 
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

COLOR_UNSPECIFIED

public static final int COLOR_UNSPECIFIED
See Also:
Constant Field Values

COLOR_WHITE

public static final int COLOR_WHITE
See Also:
Constant Field Values

COLOR_BLACK

public static final int COLOR_BLACK
See Also:
Constant Field Values
Constructor Detail

ICSSeekAdEvent

public ICSSeekAdEvent()
Method Detail

getAdNumber

public int getAdNumber()

getPlayer

public java.lang.String getPlayer()

getAccountType

public ICSAccountType getAccountType()

getRating

public ICSRating getRating()

getVariant

public ICSVariant getVariant()

isRestrictedByFormula

public boolean isRestrictedByFormula()

meetsFormula

public boolean meetsFormula()

getColor

public int getColor()

isRated

public boolean isRated()

isNotification

public boolean isNotification()

isManual

public boolean isManual()

getInitialTime

public int getInitialTime()

getIncrement

public int getIncrement()

getRatingRangeLow

public int getRatingRangeLow()

getRatingRangeHigh

public int getRatingRangeHigh()

setAdNumber

public void setAdNumber(int number)

setPlayer

public void setPlayer(java.lang.String player)

setAccountType

public void setAccountType(ICSAccountType acctType)

setRating

public void setRating(ICSRating rating)

setVariant

public void setVariant(ICSVariant variant)

setRestrictedByFormula

public void setRestrictedByFormula(boolean isRestrictedByFormula)

meetsFormula

public void meetsFormula(boolean meetsFormula)

setColor

public void setColor(int color)

setRated

public void setRated(boolean rated)

setNotification

public void setNotification(boolean notified)

setManual

public void setManual(boolean manual)

setInitialTime

public void setInitialTime(int time)

setIncrement

public void setIncrement(int incr)

setRatingRangeLow

public void setRatingRangeLow(int rangeLow)

setRatingRangeHigh

public void setRatingRangeHigh(int rangeHigh)

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 .