au.edu.swin.synergy.plugin.rooms.event
Class BChatPrivCE
java.lang.Object
|
+--java.util.EventObject
|
+--au.edu.swin.synergy.kernel.BCommandEvent
|
+--au.edu.swin.synergy.plugin.rooms.event.BChatPrivCE
- public class BChatPrivCE
- extends BCommandEvent
- See Also:
- Serialized Form
Methods inherited from class au.edu.swin.synergy.kernel.BCommandEvent |
decrementThreadCount,
doComplete,
doInit,
getAutoComplete,
getCompletionObject,
getCompletionStatus,
getConnectionID,
getIndex,
getNetworkStatus,
getPipe,
getUndoable,
setAutoComplete,
setCompletionObject,
setCompletionStatus,
setConnectionID,
setIndex,
setNetworkStatus,
setPipe,
setThreadCount,
setUndoable |
BChatPrivCE
public BChatPrivCE(Object source,
String fMessage,
String fName)
- Constructor
- Parameters:
source
- The class that dispatched the eventfMessage
- the chat messagefName
- who sent the chat message
getMessage
public String getMessage()
- Gets the message that is being broadcasted
- Parameters:
none
- - Returns:
- the chat message
getName
public String getName()
- Returns the name of the user who sent this message
- Returns:
- user name
getTargetID
public int getTargetID()
getSourceID
public int getSourceID()
setSourceID
public void setSourceID(int id)