ictk.boardgame.chess.net.ics.event
Class ICSGameNotificationEvent
java.lang.Object
ictk.boardgame.chess.net.ics.event.ICSEvent
ictk.boardgame.chess.net.ics.event.ICSGameNotificationEvent
- All Implemented Interfaces:
- ICSBoardEvent
- public class ICSGameNotificationEvent
- extends ICSEvent
- implements ICSBoardEvent
These are game notifications, which occur when you have a player
on your "gnot" list
| 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_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 |
| 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 |
ICSGameNotificationEvent
public ICSGameNotificationEvent()
getWhitePlayer
public java.lang.String getWhitePlayer()
getWhiteRating
public ICSRating getWhiteRating()
getBlackPlayer
public java.lang.String getBlackPlayer()
getBlackRating
public ICSRating getBlackRating()
isRated
public boolean isRated()
getVariant
public ICSVariant getVariant()
getInitialTime
public int getInitialTime()
getIncrement
public int getIncrement()
setWhitePlayer
public void setWhitePlayer(java.lang.String white)
setWhiteRating
public void setWhiteRating(ICSRating whiteRating)
setBlackPlayer
public void setBlackPlayer(java.lang.String black)
setBlackRating
public void setBlackRating(ICSRating blackRating)
setRated
public void setRated(boolean rated)
setVariant
public void setVariant(ICSVariant variant)
setInitialTime
public void setInitialTime(int time)
setIncrement
public void setIncrement(int incr)
getBoardNumber
public int getBoardNumber()
- Specified by:
getBoardNumber in interface ICSBoardEvent
setBoardNumber
public void setBoardNumber(int board)
- Specified by:
setBoardNumber in interface ICSBoardEvent
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