Internet Chess ToolKit
v0.2.0

ictk.boardgame.chess.net.ics
Interface ICSResponse


public interface ICSResponse

This interface is for those Events that are triggered as a response to the client's command. The ResponseKey is an arbitrary identifier used to link back to the caller of the command.


Method Summary
 int getResponseKey()
           
 java.lang.String getResponseKeyString()
           
 boolean isResponse()
          Determines if this Event was generated in response to a client's command
 void setResponseKey(int key)
          FICS uses an integer response key
 void setResponseKey(java.lang.String key)
          ICC uses an arbrtrary string key
 

Method Detail

isResponse

public boolean isResponse()
Determines if this Event was generated in response to a client's command


setResponseKey

public void setResponseKey(int key)
FICS uses an integer response key


getResponseKey

public int getResponseKey()

setResponseKey

public void setResponseKey(java.lang.String key)
ICC uses an arbrtrary string key


getResponseKeyString

public java.lang.String getResponseKeyString()

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