|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.mafia.Server.MessageHandlerBean
public class MessageHandlerBean
Field Summary | |
---|---|
static int |
MSG_FAIL
|
Constructor Summary | |
---|---|
MessageHandlerBean()
|
Method Summary | |
---|---|
void |
ejbActivate()
|
void |
ejbCreate()
Default create method |
void |
ejbPassivate()
|
void |
ejbRemove()
|
java.lang.String |
getBeanIP()
Business method |
javax.naming.InitialContext |
getInitialContext()
|
java.lang.String |
getMsgToAll()
Business method |
java.lang.String |
getMsgToGroup(int group)
Business method |
int |
getNextMsgNumber(int group)
Business method |
int |
setMessage(java.lang.String msg,
int group,
int msgID,
java.lang.String username)
Business method |
void |
setSessionContext(SessionContext ctx)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MSG_FAIL
Constructor Detail |
---|
public MessageHandlerBean()
Method Detail |
---|
public void setSessionContext(SessionContext ctx) throws EJBException, java.rmi.RemoteException
EJBException
java.rmi.RemoteException
public void ejbRemove() throws EJBException, java.rmi.RemoteException
EJBException
java.rmi.RemoteException
public void ejbActivate() throws EJBException, java.rmi.RemoteException
EJBException
java.rmi.RemoteException
public void ejbPassivate() throws EJBException, java.rmi.RemoteException
EJBException
java.rmi.RemoteException
public void ejbCreate() throws CreateException
CreateException
public int setMessage(java.lang.String msg, int group, int msgID, java.lang.String username)
public java.lang.String getBeanIP()
public java.lang.String getMsgToAll()
public int getNextMsgNumber(int group)
public java.lang.String getMsgToGroup(int group)
public javax.naming.InitialContext getInitialContext() throws javax.naming.NamingException
javax.naming.NamingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |