com.ajdigital.chat.server.remote
Class FlashChatClient

java.lang.Object
  |
  +--com.lyrisoft.chat.server.remote.ChatClient
        |
        +--com.ajdigital.chat.server.remote.FlashChatClient
All Implemented Interfaces:
ICommands, IConnectionListener

public class FlashChatClient
extends ChatClient

FlashChatClient is like a regular ChatClient except that it uses a FlashConnectionHandler which knows about the message format coming from Flash chat clients

Author:
Alon Salant

Fields inherited from class com.lyrisoft.chat.server.remote.ChatClient
_connectionHandler, _server, _userId
 
Fields inherited from interface com.lyrisoft.chat.ICommands
ACCESS_DENIED, ACK_KILL, ALREADY_SIGNED_ON, DELIMITER, EMOTE_TO_ROOM, EMOTE_TO_USER, ERROR, GET_ROOMS, GET_USERS_IN_ROOM, GET_USERS_ON_SERVER, HELP, HYPERLINK, IGNORE, INVALID_CHARACTER, INVITE, JOIN_ROOM, JOIN_ROOM_ACK, KICK, KILL, NO_INVITE, NO_SUCH_USER, OP, PART_ROOM, PART_ROOM_ACK, PING, PONG, REMOTE_CLIENT_MESSAGE, ROOM_ACCESS_DENIED, ROOM_DIFF, ROOM_MSG, ROOM_USER_DIFF, SAY_TO_ROOM, SAY_TO_USER, SHUTDOWN, SIGNOFF, SIGNON, SIGNON_ACK, STATS, UNIGNORE, UNINVITE, USER_DIFF, VERSION, WHOIS
 
Constructor Summary
FlashChatClient(ChatServer server, ServletConnectionHandler handler)
           
FlashChatClient(ChatServer server, java.net.Socket s)
           
 
Method Summary
 IConnectionHandler createConnectionHandler(java.net.Socket s)
          Creates a connection handler to manage this client
 
Methods inherited from class com.lyrisoft.chat.server.remote.ChatClient
ackJoinRoom, ackKill, ackPartRoom, ackSignon, connectionLost, die, emote, emoteFromUserPrivate, equals, error, generalError, generalMessage, generalRoomMessage, getAccessLevel, getAttribute, getClientVersion, getConnectionTime, getHost, getIdle, getKey, getLastServerPing, getLastServerPong, getServer, getServerPingAvg, getServerPingCount, getTunneling, getUserId, globalUserList, hashCode, ignore, incomingMessage, killed, messageFromUser, messageFromUserPrivate, ping, pong, roomCreated, roomDestroyed, roomJoinError, roomList, roomUserList, sendRaw, setAccessLevel, setAttribute, setClientVersion, setLastServerPing, setLastServerPong, setUserId, signOnError, socketClosed, unignore, userJoinedRoom, userPartedRoom, userSignOff, userSignOn
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlashChatClient

public FlashChatClient(ChatServer server,
                       ServletConnectionHandler handler)

FlashChatClient

public FlashChatClient(ChatServer server,
                       java.net.Socket s)
                throws java.io.IOException
Method Detail

createConnectionHandler

public IConnectionHandler createConnectionHandler(java.net.Socket s)
                                           throws java.io.IOException
Creates a connection handler to manage this client
Overrides:
createConnectionHandler in class ChatClient
Parameters:
s -  
Returns:
a FlashConnectionHandler
Throws:
java.io.IOException -  


Copyright © 2000-2002 Taso Lyristis