Internet Chess ToolKit
v0.2.0

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

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

public class ICSPlayerConnectionEvent
extends ICSEvent

This coorisponds to Player connection notification, either by "pin=1" or someone on your Notify list.


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_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
ICSPlayerConnectionEvent()
           
 
Method Summary
 ICSAccountType getAccountType()
           
 java.lang.String getPlayer()
           
 java.lang.String getReadable()
          returns a readable form of this event.
 boolean isConnected()
           
 boolean isNotification()
           
 boolean isOnNotifyList()
           
 void setAccountType(ICSAccountType acctType)
           
 void setConnected(boolean connected)
           
 void setNotification(boolean notified)
           
 void setOnNotifyList(boolean onNotifyList)
           
 void setPlayer(java.lang.String player)
           
 
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
 

Constructor Detail

ICSPlayerConnectionEvent

public ICSPlayerConnectionEvent()
Method Detail

getPlayer

public java.lang.String getPlayer()

getAccountType

public ICSAccountType getAccountType()

isConnected

public boolean isConnected()

isNotification

public boolean isNotification()

isOnNotifyList

public boolean isOnNotifyList()

setPlayer

public void setPlayer(java.lang.String player)

setAccountType

public void setAccountType(ICSAccountType acctType)

setConnected

public void setConnected(boolean connected)

setNotification

public void setNotification(boolean notified)

setOnNotifyList

public void setOnNotifyList(boolean onNotifyList)

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 .