}
private void handleClientThreadChangeEvent(ClientThreadChangeEvent ctce) {
switch (ctce.getChange()) {
case ClientThreadChangeEvent.CONNECTED:
fireEvent(new ClientSessionChangeEvent(
clientSession,
"Client connected to server",
ClientSessionChangeEvent.STARTED));
AuthRequestMessageBody armb = new AuthRequestMessageBody(
clientSession.getClientLoginData());
clientSession.sendMessage(armb);
break;
case ClientThreadChangeEvent.DISCONNECTED:
fireEvent(new ClientSessionChangeEvent(
clientSession,
"Client disconnected from server",
ClientSessionChangeEvent.STOPPED));
break;
default: