edu.cmu.mafia.Server
Interface MessageHandler


public interface MessageHandler

Remote interface for MessageHandler.


Method Summary
 java.lang.String getBeanIP()
          Business method
 java.lang.String getMsgToAll()
          Business method
 java.lang.String getMsgToGroup(int group)
          Business method
 int getNextMsgNumber(int group)
           
 int setMessage(java.lang.String msg, int group, int msgID, java.lang.String username)
          Business method
 

Method Detail

setMessage

int setMessage(java.lang.String msg,
               int group,
               int msgID,
               java.lang.String username)
               throws java.rmi.RemoteException
Business method

Throws:
java.rmi.RemoteException

getBeanIP

java.lang.String getBeanIP()
                           throws java.rmi.RemoteException
Business method

Throws:
java.rmi.RemoteException

getMsgToAll

java.lang.String getMsgToAll()
                             throws java.rmi.RemoteException
Business method

Throws:
java.rmi.RemoteException

getMsgToGroup

java.lang.String getMsgToGroup(int group)
                               throws java.rmi.RemoteException
Business method

Throws:
java.rmi.RemoteException

getNextMsgNumber

int getNextMsgNumber(int group)
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException


Copyright (c) 2006 FaultTerminators. All Rights Reserved.