com.ajdigital.chat.server.remote
Class FlashChatServer

java.lang.Object
  |
  +--com.lyrisoft.chat.server.remote.ChatServer
        |
        +--com.ajdigital.chat.server.remote.FlashChatServer
All Implemented Interfaces:
ICommands, IServerCommands

public class FlashChatServer
extends ChatServer

This is the Chat Server


Fields inherited from class com.lyrisoft.chat.server.remote.ChatServer
_authenticator, _creationTime, _cumulativeLogins, _dispatcher, _dispatchThread, _distributedState, _distributor, _distributorThread, _keepGoing, _motd, _port, _rooms, _serverSocket, _servletContext, _users, _vulture, _vultureThread, DEBUG, errorLogger, logger
 
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
 
Fields inherited from interface com.lyrisoft.chat.server.remote.IServerCommands
BROADCAST_PING, HELLO
 
Constructor Summary
FlashChatServer()
           
FlashChatServer(java.lang.String conf)
           
 
Method Summary
protected  ChatClient createChatClient(java.net.Socket s)
          We use a FlashChatClient b/c the message format is slightly different
static void main(java.lang.String[] args)
          Instantiate a FlashChatServer and start accepting connections.
 
Methods inherited from class com.lyrisoft.chat.server.remote.ChatServer
acceptConnections, announcePresence, broadcast, checkServerPings, clientKey, clientKey, createDispatcher, createLoggers, createRoomServer, createServletContextLogger, DEBUG, distribute, distributeRoomList, distributeRoomState, distributeUserList, getClient, getCumulativeLogins, getDebug, getDispatcher, getLocalRoomNames, getLocalUserNames, getName, getPort, getRoom, getRoomCount, getRoomNames, getRoomsFor, getServerNames, getUptime, getUserCount, getUserCountInRoom, getUserCountOnServer, getUserNames, getUsers, getUsersInRoom, handleBroadcastPing, handleIncoming, handlePong, initCommandProcessor, initTranslator, joinRoom, kill, log, log, logError, notifyClientsRoomCreated, notifyClientsRoomDestroyed, partRoom, pleaseStop, preProcessProperties, readMotd, remoteJoinRoom, remotePartRoom, remoteSignOff, remoteSignOn, roomExists, roomKey, roomKey, sendBroadcastPing, sendMotd, sendServerPing, sendServerPong, serverExists, serverSignOff, serverSignOn, setRemoteUserList, showUsageAndExit, signOff, signOn, userExists, validateUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlashChatServer

public FlashChatServer()
                throws java.lang.Exception

FlashChatServer

public FlashChatServer(java.lang.String conf)
                throws java.lang.Exception
Method Detail

createChatClient

protected ChatClient createChatClient(java.net.Socket s)
                               throws java.io.IOException
We use a FlashChatClient b/c the message format is slightly different
Overrides:
createChatClient in class ChatServer
Parameters:
s -  
Returns:
FlashChatClient
Throws:
java.io.IOException -  

main

public static void main(java.lang.String[] args)
Instantiate a FlashChatServer and start accepting connections. It would be nice to have one chat server be able to handle multiple client types.
Parameters:
args -  


Copyright © 2000-2002 Taso Lyristis