klaus.cs
Class ICSProfile

java.lang.Object
  extended by klaus.cs.ICSProfile

public class ICSProfile
extends Object

A ICS (Internet Chess Server, e. g. FICS) profile storing IP, port, username and password (if given by the user)

Since:
2009
Author:
Stephan Hillebrand

Field Summary
private  String ip
          The IP address for this ICS
private  String password
          The userr's password, null means the password is not given and has to be requested each login
private  int port
          The port, 5000 is default for FICS and FICS-based servers
private  boolean registered
           
private  String username
           
 
Constructor Summary
ICSProfile()
           
 
Method Summary
 String getIp()
           
 String getPassword()
           
 int getPort()
           
 String getUsername()
           
 boolean isRegistered()
           
 void setIp(String ip)
           
 void setPassword(String password)
           
 void setPort(int port)
           
 void setRegistered(boolean registered)
           
 void setUsername(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

username

private String username

registered

private boolean registered

password

private String password
The userr's password, null means the password is not given and has to be requested each login


ip

private String ip
The IP address for this ICS


port

private int port
The port, 5000 is default for FICS and FICS-based servers

Constructor Detail

ICSProfile

public ICSProfile()
Method Detail

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

isRegistered

public boolean isRegistered()

setRegistered

public void setRegistered(boolean registered)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getIp

public String getIp()

setIp

public void setIp(String ip)

getPort

public int getPort()

setPort

public void setPort(int port)