Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
J
L
M
N
R
S
T
U
W
A
addMessage(MyMessage)
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
addMessage(MyMessage)
- Method in interface edu.cmu.mafia.Server.
MyDatabaseRemote
C
ClientHelper
- Class in
edu.cmu.mafia.CommandLineClient
ClientHelper()
- Constructor for class edu.cmu.mafia.CommandLineClient.
ClientHelper
COMP_NAME
- Static variable in interface edu.cmu.mafia.Server.
EntryHome
COMP_NAME
- Static variable in interface edu.cmu.mafia.Server.
MessageHandlerHome
COMP_NAME
- Static variable in interface edu.cmu.mafia.Server.
MyDatabaseLocalHome
COMP_NAME
- Static variable in interface edu.cmu.mafia.Server.
MyDatabaseRemoteHome
connectDB()
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
Business method
connectDB()
- Method in interface edu.cmu.mafia.Server.
MyDatabaseRemote
Business method
countuser()
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
Business method
countuser()
- Method in interface edu.cmu.mafia.Server.
MyDatabaseRemote
Business method
create()
- Method in interface edu.cmu.mafia.Server.
EntryHome
create()
- Method in interface edu.cmu.mafia.Server.
MessageHandlerHome
create()
- Method in interface edu.cmu.mafia.Server.
MyDatabaseLocalHome
create(String)
- Method in interface edu.cmu.mafia.Server.
MyDatabaseLocalHome
create()
- Method in interface edu.cmu.mafia.Server.
MyDatabaseRemoteHome
create(String)
- Method in interface edu.cmu.mafia.Server.
MyDatabaseRemoteHome
CURRENT_SERVER
- Static variable in class edu.cmu.mafia.NamingService.
EJBFactory
D
DEFAULT_SERVER
- Static variable in class edu.cmu.mafia.NamingService.
EJBFactory
DEFAULT_USER
- Static variable in class edu.cmu.mafia.CommandLineClient.
InstantMessenger
E
edu.cmu.mafia.CommandLineClient
- package edu.cmu.mafia.CommandLineClient
edu.cmu.mafia.NamingService
- package edu.cmu.mafia.NamingService
edu.cmu.mafia.Server
- package edu.cmu.mafia.Server
ejbActivate()
- Method in class edu.cmu.mafia.Server.
EntryBean
ejbActivate()
- Method in class edu.cmu.mafia.Server.
MessageHandlerBean
ejbActivate()
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
ejbCreate()
- Method in class edu.cmu.mafia.Server.
EntryBean
Default create method
ejbCreate()
- Method in class edu.cmu.mafia.Server.
MessageHandlerBean
Default create method
ejbCreate()
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
ejbCreate(String)
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
EJBFactory
- Class in
edu.cmu.mafia.NamingService
This class is a utility to get a EJB object from JNDI.
EJBFactory()
- Constructor for class edu.cmu.mafia.NamingService.
EJBFactory
ejbFindByPrimaryKey(MyDatabasePK)
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
ejbLoad()
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
ejbPassivate()
- Method in class edu.cmu.mafia.Server.
EntryBean
ejbPassivate()
- Method in class edu.cmu.mafia.Server.
MessageHandlerBean
ejbPassivate()
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
ejbPostCreate()
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
ejbPostCreate(String)
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
ejbRemove()
- Method in class edu.cmu.mafia.Server.
EntryBean
ejbRemove()
- Method in class edu.cmu.mafia.Server.
MessageHandlerBean
ejbRemove()
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
ejbStore()
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
Entry
- Interface in
edu.cmu.mafia.Server
Remote interface for Entry.
EntryBean
- Class in
edu.cmu.mafia.Server
EntryBean()
- Constructor for class edu.cmu.mafia.Server.
EntryBean
EntryHome
- Interface in
edu.cmu.mafia.Server
Home interface for Entry.
equals(Object)
- Method in class edu.cmu.mafia.Server.
MyDatabasePK
F
failover(String)
- Static method in class edu.cmu.mafia.NamingService.
EJBFactory
returns next available refernce.
findByPrimaryKey(MyDatabasePK)
- Method in interface edu.cmu.mafia.Server.
MyDatabaseLocalHome
findByPrimaryKey(MyDatabasePK)
- Method in interface edu.cmu.mafia.Server.
MyDatabaseRemoteHome
G
getBeanIP()
- Method in interface edu.cmu.mafia.Server.
MessageHandler
Business method
getBeanIP()
- Method in class edu.cmu.mafia.Server.
MessageHandlerBean
Business method
getEJBHome(String)
- Static method in class edu.cmu.mafia.NamingService.
EJBFactory
The getEJBHome() takes in the name of an EJB object and returns its home interface
getGroup()
- Method in class edu.cmu.mafia.Server.
MyMessage
getHistory()
- Method in class edu.cmu.mafia.Server.
MyMessage
getID()
- Method in class edu.cmu.mafia.Server.
MyMessage
getInfo()
- Method in class edu.cmu.mafia.CommandLineClient.
ClientHelper
getInitialContext()
- Static method in class edu.cmu.mafia.NamingService.
EJBFactory
The getInitialContext() method returns an EJB InitialContext which points to the current primary server.
getInitialContext()
- Method in class edu.cmu.mafia.Server.
EntryBean
getInitialContext()
- Method in class edu.cmu.mafia.Server.
MessageHandlerBean
getMessages(int)
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
getMessages(int)
- Method in interface edu.cmu.mafia.Server.
MyDatabaseRemote
getMsg()
- Method in class edu.cmu.mafia.Server.
MyMessage
getMsgToAll()
- Method in interface edu.cmu.mafia.Server.
MessageHandler
Business method
getMsgToAll()
- Method in class edu.cmu.mafia.Server.
MessageHandlerBean
Business method
getMsgToGroup(int)
- Method in interface edu.cmu.mafia.Server.
MessageHandler
Business method
getMsgToGroup(int)
- Method in class edu.cmu.mafia.Server.
MessageHandlerBean
Business method
getNextMsgNumber(int)
- Method in interface edu.cmu.mafia.Server.
MessageHandler
getNextMsgNumber(int)
- Method in class edu.cmu.mafia.Server.
MessageHandlerBean
Business method
getUser()
- Method in class edu.cmu.mafia.Server.
MyMessage
H
hashCode()
- Method in class edu.cmu.mafia.Server.
MyDatabasePK
I
InstantMessenger
- Class in
edu.cmu.mafia.CommandLineClient
InstantMessenger()
- Constructor for class edu.cmu.mafia.CommandLineClient.
InstantMessenger
J
JNDI_NAME
- Static variable in interface edu.cmu.mafia.Server.
EntryHome
JNDI_NAME
- Static variable in interface edu.cmu.mafia.Server.
MessageHandlerHome
JNDI_NAME
- Static variable in interface edu.cmu.mafia.Server.
MyDatabaseLocalHome
JNDI_NAME
- Static variable in interface edu.cmu.mafia.Server.
MyDatabaseRemoteHome
L
loadFromDB(MyDatabasePK)
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
login()
- Method in class edu.cmu.mafia.CommandLineClient.
ClientHelper
login(String, String, String, int)
- Method in interface edu.cmu.mafia.Server.
Entry
Business method
login(String, String)
- Method in class edu.cmu.mafia.Server.
EntryBean
login_str
- Static variable in class edu.cmu.mafia.CommandLineClient.
InstantMessenger
loginuser(String, String)
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
Business method
loginuser(String, String)
- Method in interface edu.cmu.mafia.Server.
MyDatabaseRemote
Business method
logout(String, int, String, int)
- Method in interface edu.cmu.mafia.Server.
Entry
Business method
logout(String, int)
- Method in class edu.cmu.mafia.Server.
EntryBean
logoutuser(String, int)
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
Business method
logoutuser(String, int)
- Method in interface edu.cmu.mafia.Server.
MyDatabaseRemote
Business method
M
MafiaException
- Exception in
edu.cmu.mafia.CommandLineClient
MafiaException(String)
- Constructor for exception edu.cmu.mafia.CommandLineClient.
MafiaException
MafiaException(Throwable)
- Constructor for exception edu.cmu.mafia.CommandLineClient.
MafiaException
MafiaException(String, Throwable)
- Constructor for exception edu.cmu.mafia.CommandLineClient.
MafiaException
main(String[])
- Static method in class edu.cmu.mafia.CommandLineClient.
InstantMessenger
MAX_LENGTH
- Static variable in class edu.cmu.mafia.CommandLineClient.
InstantMessenger
MAX_SHOW
- Static variable in class edu.cmu.mafia.Server.
MyDatabaseBean
MAX_TRIES
- Static variable in class edu.cmu.mafia.CommandLineClient.
InstantMessenger
mEntries
- Variable in class edu.cmu.mafia.Server.
MyDatabaseBean
MessageHandler
- Interface in
edu.cmu.mafia.Server
Remote interface for MessageHandler.
MessageHandlerBean
- Class in
edu.cmu.mafia.Server
MessageHandlerBean()
- Constructor for class edu.cmu.mafia.Server.
MessageHandlerBean
MessageHandlerHome
- Interface in
edu.cmu.mafia.Server
Home interface for MessageHandler.
mName
- Variable in class edu.cmu.mafia.Server.
MyDatabasePK
MSG_ACK
- Static variable in class edu.cmu.mafia.Server.
MyDatabaseBean
MSG_FAIL
- Static variable in class edu.cmu.mafia.CommandLineClient.
ClientHelper
MSG_FAIL
- Static variable in class edu.cmu.mafia.Server.
MessageHandlerBean
MSG_FAIL
- Static variable in class edu.cmu.mafia.Server.
MyDatabaseBean
MyDatabaseBean
- Class in
edu.cmu.mafia.Server
MyDatabaseBean()
- Constructor for class edu.cmu.mafia.Server.
MyDatabaseBean
MyDatabaseLocal
- Interface in
edu.cmu.mafia.Server
Local interface for MyDatabase.
MyDatabaseLocalHome
- Interface in
edu.cmu.mafia.Server
Local home interface for MyDatabase.
MyDatabasePK
- Class in
edu.cmu.mafia.Server
Primary key for MyDatabase.
MyDatabasePK()
- Constructor for class edu.cmu.mafia.Server.
MyDatabasePK
MyDatabasePK(String)
- Constructor for class edu.cmu.mafia.Server.
MyDatabasePK
MyDatabaseRemote
- Interface in
edu.cmu.mafia.Server
Remote interface for MyDatabase.
MyDatabaseRemoteHome
- Interface in
edu.cmu.mafia.Server
Home interface for MyDatabase.
MyMessage
- Class in
edu.cmu.mafia.Server
MyMessage()
- Constructor for class edu.cmu.mafia.Server.
MyMessage
MyMessage(int, String, String, int, int)
- Constructor for class edu.cmu.mafia.Server.
MyMessage
MyMessage(String, String)
- Constructor for class edu.cmu.mafia.Server.
MyMessage
MyMessage(String)
- Constructor for class edu.cmu.mafia.Server.
MyMessage
N
nextMsgNumber(int)
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
nextMsgNumber(int)
- Method in interface edu.cmu.mafia.Server.
MyDatabaseRemote
R
register()
- Method in class edu.cmu.mafia.CommandLineClient.
ClientHelper
register(String, String)
- Method in interface edu.cmu.mafia.Server.
Entry
Business method
register(String, String)
- Method in class edu.cmu.mafia.Server.
EntryBean
register_str
- Static variable in class edu.cmu.mafia.CommandLineClient.
InstantMessenger
registeruser(String, String)
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
Business method
registeruser(String, String)
- Method in interface edu.cmu.mafia.Server.
MyDatabaseRemote
Business method
S
session_select()
- Method in class edu.cmu.mafia.CommandLineClient.
ClientHelper
setEntityContext(EntityContext)
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
setGroup(int)
- Method in class edu.cmu.mafia.Server.
MyMessage
setHistory(int)
- Method in class edu.cmu.mafia.Server.
MyMessage
setID(int)
- Method in class edu.cmu.mafia.Server.
MyMessage
setMessage(String, int, int, String)
- Method in interface edu.cmu.mafia.Server.
MessageHandler
Business method
setMessage(String, int, int, String)
- Method in class edu.cmu.mafia.Server.
MessageHandlerBean
Business method
setMsg(String)
- Method in class edu.cmu.mafia.Server.
MyMessage
setSessionContext(SessionContext)
- Method in class edu.cmu.mafia.Server.
EntryBean
setSessionContext(SessionContext)
- Method in class edu.cmu.mafia.Server.
MessageHandlerBean
setUser(String)
- Method in class edu.cmu.mafia.Server.
MyMessage
SLEEP_TIME
- Static variable in class edu.cmu.mafia.CommandLineClient.
ClientHelper
SLEEP_TIME
- Static variable in class edu.cmu.mafia.CommandLineClient.
InstantMessenger
startChatroom(String)
- Method in class edu.cmu.mafia.CommandLineClient.
ClientHelper
systemDown()
- Method in class edu.cmu.mafia.CommandLineClient.
ClientHelper
T
TEST_MODE
- Static variable in class edu.cmu.mafia.CommandLineClient.
InstantMessenger
TIMEOUT
- Static variable in class edu.cmu.mafia.NamingService.
EJBFactory
toString()
- Method in class edu.cmu.mafia.Server.
MyDatabasePK
U
unsetEntityContext()
- Method in class edu.cmu.mafia.Server.
MyDatabaseBean
W
welcome()
- Method in class edu.cmu.mafia.CommandLineClient.
ClientHelper
A
C
D
E
F
G
H
I
J
L
M
N
R
S
T
U
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright (c) 2006 FaultTerminators. All Rights Reserved.