All Packages Class Hierarchy This Package Previous Next Index
Class cnctInfoSocket.cnctInfoSocketClient
java.lang.Object
|
+----java.lang.Thread
|
+----cnctInfoSocket.lineSocket
|
+----cnctInfoSocket.cnctInfoSocketClient
- public class cnctInfoSocketClient
- extends lineSocket
-
canISend
-
-
event
-
-
firstread
-
-
gameList
-
-
games
-
-
iHaveSend
-
-
LOGIN
-
-
NOTHING
-
-
playerList
-
-
players
-
-
pollgames
-
-
pollplayers
-
-
stopListening
-
-
cnctInfoSocketClient(cnctInfoSocketEvent, String, int)
-
-
close()
-
-
cutComment(String)
-
-
extractPlayer(knoten)
-
-
getComment(String)
-
-
getOneGame()
-
-
getOnePlayer()
-
-
getWhatISend()
-
-
handleInput(String)
-
-
join(int)
-
-
login(String)
-
-
logout()
-
-
newGame(int, int)
-
-
run()
-
-
watch(int)
-
-
who()
-
event
private cnctInfoSocketEvent event
stopListening
private boolean stopListening
firstread
private boolean firstread
iHaveSend
private int iHaveSend
NOTHING
public static final int NOTHING
LOGIN
public static final int LOGIN
playerList
private cnctInfoPlayerList playerList
gameList
private cnctInfoGameList gameList
players
private String players[]
games
private int games[]
pollplayers
private int pollplayers
pollgames
private int pollgames
canISend
private boolean canISend
cnctInfoSocketClient
public cnctInfoSocketClient(cnctInfoSocketEvent _event,
String _hostname,
int _port) throws cnctSocketException
getWhatISend
public int getWhatISend()
run
public void run()
- Overrides:
- run in class Thread
handleInput
public void handleInput(String input) throws cnctSocketException
getOnePlayer
private boolean getOnePlayer()
getOneGame
private boolean getOneGame()
extractPlayer
private boolean extractPlayer(knoten baum)
cutComment
private String cutComment(String input)
getComment
private String getComment(String input)
login
public boolean login(String name)
logout
public boolean logout()
join
public boolean join(int gameNr)
watch
public boolean watch(int gameNr)
who
public boolean who()
newGame
public boolean newGame(int gamesize,
int color)
close
public void close()
- Overrides:
- close in class lineSocket
All Packages Class Hierarchy This Package Previous Next Index