A B C D E F G H I J K L M N O P R S T U V W X _

A

ACCESSDENIED - Static variable in class jChatBox.Util.Conf
 
add(ChatroomUser, String) - Method in class jChatBox.Chat.Blacklist
Add user's IP to blacklist.
addChatroom(Chatroom) - Method in class jChatBox.Chat.ChatroomManager
Adds a chatroom.
addMsg(Msg) - Method in class jChatBox.Chat.Chatroom
Adds message to Chat.
addToBlacklist(ChatroomUser, String) - Method in class jChatBox.Chat.Chatroom
Add user to blacklist.
addUser(ChatroomUser) - Method in class jChatBox.Chat.Chatroom
Adds user to Chatroom.
APPLET - Static variable in class jChatBox.Util.Conf
 

B

BACKUPDONE - Static variable in class jChatBox.Util.Conf
 
BACKUPFILE - Static variable in class jChatBox.Util.XMLConfig
 
BAN - Static variable in class jChatBox.Chat.Msg
 
BANNED - Static variable in class jChatBox.Util.Conf
 
Blacklist - class jChatBox.Chat.Blacklist.
This class implements a blacklist.
Blacklist() - Constructor for class jChatBox.Chat.Blacklist
 
boundUser(HttpServletRequest, HttpSession, int, UserParams, String) - Method in class jChatBox.Service.UserLogin
Bounds ChatroomUser to selected chatroom (and its HttpSession).
It also notify users' Monitor.
BUFFEREDFRAMED - Static variable in class jChatBox.Util.Conf
 

C

CANNOTKICKOFFORBAN - Static variable in class jChatBox.Util.Conf
 
ChatException - exception jChatBox.Chat.ChatException.
This class implements Chat exceptions.
ChatException() - Constructor for class jChatBox.Chat.ChatException
 
ChatException(String) - Constructor for class jChatBox.Chat.ChatException
 
Chatroom - class jChatBox.Chat.Chatroom.
This class implements all features for jChatBox rooms.
Chatroom(ChatroomParams) - Constructor for class jChatBox.Chat.Chatroom
Chatroom constructor.
CHATROOMBLACKLISTCLEARED - Static variable in class jChatBox.Util.Conf
 
CHATROOMCLOSED - Static variable in class jChatBox.Util.Conf
 
CHATROOMIDMISSING - Static variable in class jChatBox.Util.Conf
 
ChatroomManager - class jChatBox.Chat.ChatroomManager.
This class (Singleton) manages all chatrooms.
ChatroomManagerToFile(ChatroomManager, String) - Static method in class jChatBox.Util.XMLConfig
Writes serialized Hashtable to file.
CHATROOMNAMEMISSING - Static variable in class jChatBox.Util.Conf
 
CHATROOMNOTFOUND - Static variable in class jChatBox.Util.Conf
 
CHATROOMOPENED - Static variable in class jChatBox.Util.Conf
 
ChatroomParams - class jChatBox.Chat.ChatroomParams.
This class provides chatroom parameters.
ChatroomParams(String, String, int) - Constructor for class jChatBox.Chat.ChatroomParams
Basic constructor.
ChatroomParams(String, String, int, int, int, int, int, int, boolean, int, Vector) - Constructor for class jChatBox.Chat.ChatroomParams
Full constructor.
CHATROOMSUBJECTMISSING - Static variable in class jChatBox.Util.Conf
 
CHATROOMTRANSCRIPTED - Static variable in class jChatBox.Util.Conf
 
CHATROOMUPDATED - Static variable in class jChatBox.Util.Conf
 
ChatroomUser - class jChatBox.Chat.ChatroomUser.
This class implements features to bound/unbound User to HttpSession.
ChatroomUser(String, String, int, UserParams, LogListener) - Constructor for class jChatBox.Chat.ChatroomUser
Construct a ChatroomUser from name, email, IP address, type, extra and ChatRoom.
checkSystemLogin(HttpSession) - Method in class jChatBox.Service.SystemProcessor
Checks if SYSTEM user is logged.
checkUserLogin(HttpSession) - Method in class jChatBox.Service.UserProcessor
Checks if user is logged.
clear() - Method in class jChatBox.Chat.Blacklist
Clear blacklist.
close() - Method in class jChatBox.Chat.Chatroom
Close the Chatroom.
CLOSED - Static variable in class jChatBox.Util.Conf
 
computeRefresh(long, long, int, int, int) - Method in class jChatBox.Service.UserProcessor
Computes refresh time.
Conf - class jChatBox.Util.Conf.
This class is a collection of constants for jChatBox.
Conf() - Constructor for class jChatBox.Util.Conf
 
CONFFOLDER - Static variable in class jChatBox.Util.XMLConfig
Path to jChatBox conf folder (Not ending with a separator)
COOKIEID - Static variable in class jChatBox.Util.XMLConfig
 

D

Debug - class jChatBox.Util.Debug.
This class (Singleton) implements Debug features.
dec_table - Static variable in class jChatBox.Util.Decrypt
A static array that maps ASCII code points to a 6-bit integer, or -1 for an invalid code point.
Decrypt - class jChatBox.Util.Decrypt.
This class tranforms cipher text (OXW file) into PLAIN text.
Decrypt(String) - Constructor for class jChatBox.Util.Decrypt
Constructor.
destroy() - Method in class jChatBox.Chat.ChatroomManager
Backup ChatroomManager.
destroy() - Static method in class jChatBox.Util.Debug
 
DISPLAYMODE - Static variable in class jChatBox.Util.XMLConfig
 
doDigest(byte[]) - Method in class jChatBox.Util.MD5
 
doDigest(String) - Method in class jChatBox.Util.MD5
 
doLogin(HttpServletRequest, HttpSession) - Method in class jChatBox.Service.Login
Login process.
Overide this method to add authentication/authorization.
It must return Conf.JSPROOM when login succeeded (no exceptions).
It must return null if login fails.
doLogin(HttpServletRequest, HttpSession) - Method in class jChatBox.Service.UserLogin
Login (name, chatrooms) from JSP form.
doLogin(HttpServletRequest, HttpSession) - Method in class jChatBox.Service.SystemLogin
Check login/password from JSP form with login/password from XML configuration file.

E

enc_table - Static variable in class jChatBox.Util.Decrypt
A static array that maps 6-bit integers to a specific char.
execute(HttpServletRequest, HttpServletResponse, HttpSession, ServletContext) - Method in class jChatBox.Service.UserProcessor
Processes all USERS commands.
execute(HttpServletRequest, HttpSession, ServletContext) - Method in class jChatBox.Service.SystemProcessor
Processes all SYSTEM commands.
EXT - Static variable in class jChatBox.Util.Debug
 

F

fileToChatroomManager(String) - Static method in class jChatBox.Util.XMLConfig
Reads a serialized Hashtable from file.
Filter - class jChatBox.Chat.Filter.Filter.
This class defines a generic Filter.
Extended classes must fill in :
_name, _id and _description Strings in constructor.
Note that jChatBox conf/ folder path is available thanks to XMLConfig.CONFFOLDER static field.
Filter() - Constructor for class jChatBox.Chat.Filter.Filter
 
FILTERS - Static variable in class jChatBox.Util.XMLConfig
 
FILTERSCLASSES - Static variable in class jChatBox.Util.XMLConfig
 
FLASH - Static variable in class jChatBox.Util.Conf
 
FRAMED - Static variable in class jChatBox.Util.Conf
 

G

getAgent() - Method in class jChatBox.Chat.UserParams
Returns email.
getBlacklist() - Method in class jChatBox.Chat.Chatroom
Returns Blacklist.
getChat() - Method in class jChatBox.Chat.Chatroom
Returns the whole Chat.
getChat(String) - Method in class jChatBox.Chat.Chatroom
Returns the Chat content for an user only.
getChatroom() - Method in class jChatBox.Chat.UserParams
Returns current chatroom.
getChatroom(int) - Method in class jChatBox.Chat.ChatroomManager
Returns a chatroom identified by its ID.
getChatroomLogListener() - Method in class jChatBox.Chat.ChatroomUser
Returns Chatroom LogListener.
getChatrooms() - Method in class jChatBox.Chat.ChatroomManager
Lists all chatrooms.
getChatroomUID() - Method in class jChatBox.Chat.ChatroomManager
Returns an UID for a chatroom.
getDate() - Method in class jChatBox.Chat.Msg
Returns message's date.
getDate() - Method in class jChatBox.Chat.Chatroom
Returns opening date.
getDescription() - Method in class jChatBox.Chat.Filter.Filter
Returns Filter's description.
getDisplayMode() - Method in class jChatBox.Chat.ChatroomParams
Returns Display Mode.
getEmail() - Method in class jChatBox.Chat.UserParams
Returns email.
getExtension() - Method in class jChatBox.Chat.UserParams
Returns user's extensions.
getFilters() - Method in class jChatBox.Chat.ChatroomParams
Returns Filters.
getFrom() - Method in class jChatBox.Chat.Msg
Returns "From" field.
getHistory() - Method in class jChatBox.Chat.ChatroomParams
Returns History.
getID() - Method in class jChatBox.Chat.ChatroomParams
Returns Chatroom's ID.
getID() - Method in class jChatBox.Chat.Filter.Filter
Returns Filter's ID.
getInstance() - Static method in class jChatBox.Chat.Monitor
 
getInstance() - Static method in class jChatBox.Chat.ChatroomManager
Returns ChatroomManager Singleton.
getIP() - Method in class jChatBox.Chat.User
Returns an User's IP.
getList() - Method in class jChatBox.Chat.Blacklist
Returns blacklist.
getMaxInactive() - Method in class jChatBox.Chat.ChatroomParams
Returns User's timeout.
getMaxUsers() - Method in class jChatBox.Chat.ChatroomParams
Returns Max.
getMonitorLogListener() - Method in class jChatBox.Chat.ChatroomUser
Returns Monitor LogListener.
getMsg() - Method in class jChatBox.Chat.Msg
Returns "Message".
getName() - Method in class jChatBox.Chat.User
Returns an User's name.
getName() - Method in class jChatBox.Chat.ChatroomParams
Returns Chatroom's name.
getName() - Method in class jChatBox.Chat.Filter.Filter
Returns Filter's name.
getParams() - Method in class jChatBox.Chat.User
Returns an User's extra fields.
getParams() - Method in class jChatBox.Chat.Chatroom
Returns Chatroom's parameters.
getParams() - Method in class jChatBox.Chat.Filter.Filter
Returns Filter's parameters.
getPlain() - Method in class jChatBox.Util.Decrypt
Returns plain text.
getPrivateStatus() - Method in class jChatBox.Chat.ChatroomParams
Returns Private Message status.
getRefresh() - Method in class jChatBox.Chat.UserParams
Returns refresh field.
getRefreshLimit() - Method in class jChatBox.Chat.ChatroomParams
Returns Refresh Limit.
getRefreshModel() - Method in class jChatBox.Chat.ChatroomParams
Returns Refresh Model.
getSize() - Method in class jChatBox.Chat.Blacklist
Returns blacklist size.
getSubject() - Method in class jChatBox.Chat.ChatroomParams
Returns Chatroom's subject.
getSysMessage() - Method in class jChatBox.Service.Login
Returns message or error.
getSysMessage() - Method in class jChatBox.Service.SystemProcessor
Returns message or error.
getSysMessage() - Method in class jChatBox.Service.UserProcessor
Returns message or error.
getTable() - Method in class jChatBox.Chat.Monitor
 
getTo() - Method in class jChatBox.Chat.Msg
Returns "To" field.
getTotalUsers() - Method in class jChatBox.Chat.Chatroom
Counts Users.
getType() - Method in class jChatBox.Chat.User
Returns an User's type.
getType() - Method in class jChatBox.Chat.Msg
Returns "Type" field.
getUser(String) - Method in class jChatBox.Chat.Chatroom
Returns an User.
getUsers() - Method in class jChatBox.Chat.Chatroom
Returns Users.

H

HISTORY - Static variable in class jChatBox.Util.XMLConfig
 
HTMLFilter - class jChatBox.Chat.Filter.HTMLFilter.
This class implements an HTML filter.
HTMLFilter() - Constructor for class jChatBox.Chat.Filter.HTMLFilter
 

I

init() - Method in class jChatBox.Chat.Filter.Filter
Initialize the Filter.
This method will be called after filter's instantiation.
init() - Method in class jChatBox.Chat.Filter.URLFilter
Nothing to initialize.
init() - Method in class jChatBox.Chat.Filter.HTMLFilter
Nothing to initialize.
init() - Static method in class jChatBox.Util.Debug
Debug Instantiation and initialization.
init(String) - Static method in class jChatBox.Util.XMLConfig
XMLConfig initialization.
INVALIDNAME - Static variable in class jChatBox.Util.Conf
 
IPREMOVED - Static variable in class jChatBox.Util.Conf
 
isBanned(ChatroomUser) - Method in class jChatBox.Chat.Blacklist
Check if user's IP address is banned.
isKickedOff(ChatroomUser) - Method in class jChatBox.Chat.Blacklist
Not implemented.

J

jChatBox.Chat - package jChatBox.Chat
 
jChatBox.Chat.Filter - package jChatBox.Chat.Filter
 
jChatBox.Service - package jChatBox.Service
 
jChatBox.Util - package jChatBox.Util
 
JOIN - Static variable in class jChatBox.Chat.Msg
 
JSPMANAGECHATROOM - Static variable in class jChatBox.Util.Conf
 
JSPMENU - Static variable in class jChatBox.Util.Conf
 
JSPOPENCHATROOM - Static variable in class jChatBox.Util.Conf
 
JSPROOM - Static variable in class jChatBox.Util.Conf
 
JSPROOMCONTENT - Static variable in class jChatBox.Util.Conf
 
JSPSYSTEMLOGIN - Static variable in class jChatBox.Util.Conf
 
JSPUSERLOGIN - Static variable in class jChatBox.Util.Conf
 

K

KICK - Static variable in class jChatBox.Chat.Msg
 
KICKEDOFF - Static variable in class jChatBox.Util.Conf
 

L

LEFT - Static variable in class jChatBox.Chat.Msg
 
LICENSE - Static variable in class jChatBox.Util.XMLConfig
 
LINESEPARATOR - Static variable in class jChatBox.Util.XMLConfig
Line separator
log(int, String, String) - Static method in class jChatBox.Util.Debug
Log message.
LOGFILE - Static variable in class jChatBox.Util.Debug
 
LOGFOLDER - Static variable in class jChatBox.Util.XMLConfig
 
Login - class jChatBox.Service.Login.
This class defines a generic Login.
Login() - Constructor for class jChatBox.Service.Login
 
LogListener - interface jChatBox.Chat.LogListener.
This interface provides method for login and logout.

M

MAXUSERS - Static variable in class jChatBox.Util.XMLConfig
 
MD5 - class jChatBox.Util.MD5.
This class implements MD5 hash algorithm.
MD5() - Constructor for class jChatBox.Util.MD5
 
MODERATOR - Static variable in class jChatBox.Chat.User
 
Monitor - class jChatBox.Chat.Monitor.
This class (Singleton) is an Hashtable.
Msg - class jChatBox.Chat.Msg.
This class implements Message features.
Msg(Date, String, String, String) - Constructor for class jChatBox.Chat.Msg
Constructs NORMAL message.
Msg(Date, String, String, String, int) - Constructor for class jChatBox.Chat.Msg
Constructs message.

N

NAMENOTAVAILABLE - Static variable in class jChatBox.Util.Conf
 
NAMENOTFOUND - Static variable in class jChatBox.Util.Conf
 
NONFRAMED - Static variable in class jChatBox.Util.Conf
 
NORMAL - Static variable in class jChatBox.Chat.User
 
NORMAL - Static variable in class jChatBox.Chat.Msg
 
NOVACANCIES - Static variable in class jChatBox.Util.Conf
 

O

open() - Method in class jChatBox.Chat.Chatroom
Opens the Chatroom.

P

performLogin(ChatroomUser) - Method in class jChatBox.Chat.Monitor
 
performLogin(ChatroomUser) - Method in class jChatBox.Chat.Chatroom
LogListener dummy implementation.
performLogin(ChatroomUser) - Method in interface jChatBox.Chat.LogListener
 
performLogout(ChatroomUser) - Method in class jChatBox.Chat.Monitor
Remove ChatroomUser and its HttpSession.
performLogout(ChatroomUser) - Method in class jChatBox.Chat.Chatroom
Remove user from chatroom is its HttpSession timed out or invalidated.
performLogout(ChatroomUser) - Method in interface jChatBox.Chat.LogListener
 
PRIVATE - Static variable in class jChatBox.Chat.Msg
 
PRIVATEMESSAGE - Static variable in class jChatBox.Util.XMLConfig
 
process(String) - Method in class jChatBox.Chat.Filter.Filter
Processes input to output.
process(String) - Method in class jChatBox.Chat.Filter.URLFilter
Replaces filter string by filter
filter string could be : http://, https://, ftp://, news://, file://, mailto:
process(String) - Method in class jChatBox.Chat.Filter.HTMLFilter
Replaces '>' by '>' and '<' by '<'.

R

readRegistration() - Static method in class jChatBox.Util.XMLConfig
Converts OXW file into PLAIN text.
REFRESHCONSTANT - Static variable in class jChatBox.Util.Conf
T=Tlim.
REFRESHLIMIT - Static variable in class jChatBox.Util.XMLConfig
 
REFRESHLOAD - Static variable in class jChatBox.Util.Conf
T=1+(Tlim/UsersInChatroom).
REFRESHMODEL - Static variable in class jChatBox.Util.XMLConfig
 
REFRESHTRACK - Static variable in class jChatBox.Util.Conf
T=2*Tlim*(1-Tlim/(Tlim+deltaT)).
REGISTRATION - Static variable in class jChatBox.Util.XMLConfig
 
remove(String) - Method in class jChatBox.Chat.Blacklist
Remove IP from blacklist.
removeChatroom(int) - Method in class jChatBox.Chat.ChatroomManager
Removes a chatroom identified by its ID.
removeFromBlacklist(String) - Method in class jChatBox.Chat.Chatroom
Remove IP from blacklist.
removeUser(String) - Method in class jChatBox.Chat.Chatroom
Removes an User.
reOpen() - Method in class jChatBox.Chat.Chatroom
ReOpen the Chatroom (Should be used after servlet container crash ot stop).
reOpen() - Method in class jChatBox.Chat.ChatroomManager
reOpen ChatroomManager.
resetBlacklist() - Method in class jChatBox.Chat.Chatroom
Reset Blacklist.

S

SEPARATOR - Static variable in class jChatBox.Util.XMLConfig
File separator
setAgent(String) - Method in class jChatBox.Chat.UserParams
Sets Agent.
setChatroom(int) - Method in class jChatBox.Chat.UserParams
Sets current chatroom.
setEmail(String) - Method in class jChatBox.Chat.UserParams
Sets email.
setExtension(Vector) - Method in class jChatBox.Chat.UserParams
Sets users's extensions.
setParams(UserParams) - Method in class jChatBox.Chat.User
Updates an User's extra fields.
setParams(Vector) - Method in class jChatBox.Chat.Filter.Filter
Sets Filter's parameters.
setRefresh(int) - Method in class jChatBox.Chat.UserParams
Sets refresh field.
setSysMessage(String) - Method in class jChatBox.Service.Login
Sets message or error.
setSysMessage(String) - Method in class jChatBox.Service.SystemProcessor
Sets message or error.
setSysMessage(String) - Method in class jChatBox.Service.UserProcessor
Sets message or error.
SYSTEM - Static variable in class jChatBox.Chat.User
 
SYSTEM - Static variable in class jChatBox.Chat.Msg
 
SYSTEMEMAIL - Static variable in class jChatBox.Util.XMLConfig
 
SYSTEMERROR - Static variable in class jChatBox.Util.Conf
 
SystemLogin - class jChatBox.Service.SystemLogin.
This class implements features to login SYSTEM user.
SYSTEMLOGIN - Static variable in class jChatBox.Util.XMLConfig
 
SystemLogin() - Constructor for class jChatBox.Service.SystemLogin
 
SYSTEMPASSWORD - Static variable in class jChatBox.Util.XMLConfig
 
SystemProcessor - class jChatBox.Service.SystemProcessor.
This class handles all SYSTEM HttpRequests once logged.
SystemProcessor() - Constructor for class jChatBox.Service.SystemProcessor
Dummy constructor.
SYSTEMUSERJOINED - Static variable in class jChatBox.Util.Conf
 

T

TIMEOUT - Static variable in class jChatBox.Util.XMLConfig
 
trace(int, String) - Method in class jChatBox.Chat.Filter.Filter
Sends trace to debug.
trace(int, String) - Method in class jChatBox.Service.UserLogin
Sends trace to debug.

U

updateChatroomLogListener(LogListener) - Method in class jChatBox.Chat.ChatroomUser
Updates Chatroom LogListener.
updateMonitorLogListener(LogListener) - Method in class jChatBox.Chat.ChatroomUser
Updates Monitor LogListener.
updateParams(ChatroomParams) - Method in class jChatBox.Chat.Chatroom
Updates Chatroom's parameters.
URLFilter - class jChatBox.Chat.Filter.URLFilter.
This class implements an URL filter.
URLFilter() - Constructor for class jChatBox.Chat.Filter.URLFilter
 
User - class jChatBox.Chat.User.
This class implements User features for jChatBox.
User(String, String, int) - Constructor for class jChatBox.Chat.User
Contructs User from name, IP and type.
User(String, String, int, UserParams) - Constructor for class jChatBox.Chat.User
Contructs User intance from name, IP, type and extra feature.
UserLogin - class jChatBox.Service.UserLogin.
This class implements features to login user.
UserLogin() - Constructor for class jChatBox.Service.UserLogin
 
USERNAMEMISSING - Static variable in class jChatBox.Util.Conf
 
UserParams - class jChatBox.Chat.UserParams.
This class implements features for User.
UserParams() - Constructor for class jChatBox.Chat.UserParams
 
UserProcessor - class jChatBox.Service.UserProcessor.
This class handles all USERS HttpRequests once logged.
UserProcessor() - Constructor for class jChatBox.Service.UserProcessor
Dummy constructor.

V

valueBound(HttpSessionBindingEvent) - Method in class jChatBox.Chat.ChatroomUser
Interface HttpSessionBindingListenner.
valueUnbound(HttpSessionBindingEvent) - Method in class jChatBox.Chat.ChatroomUser
Interface HttpSessionBindingListenner.

W

WARNING - Static variable in class jChatBox.Chat.Msg
 
writeConfig() - Static method in class jChatBox.Util.XMLConfig
Saves XML file.

X

XMLConfig - class jChatBox.Util.XMLConfig.
This class implements features to read/save jChatBox XML system configuration file.
XMLCONFIGUPDATED - Static variable in class jChatBox.Util.Conf
 

_

_description - Variable in class jChatBox.Chat.Filter.Filter
 
_id - Variable in class jChatBox.Chat.Filter.Filter
 
_name - Variable in class jChatBox.Chat.Filter.Filter
 
_params - Variable in class jChatBox.Chat.Filter.Filter
 
_XMLfilename - Static variable in class jChatBox.Util.XMLConfig
 

A B C D E F G H I J K L M N O P R S T U V W X _