com.threerings.crowd.chat.server
Class SpeakUtil.MessageMapper

java.lang.Object
  extended by com.threerings.crowd.chat.server.SpeakUtil.MessageMapper
All Implemented Interfaces:
SpeakObject.ListenerOp
Enclosing class:
SpeakUtil

protected static class SpeakUtil.MessageMapper
extends Object
implements SpeakObject.ListenerOp

Used to note the recipients of a chat message.


Field Summary
 UserMessage message
           
 RootDObjectManager omgr
           
 
Constructor Summary
protected SpeakUtil.MessageMapper()
           
 
Method Summary
 void apply(int bodyOid)
          Call this method if you only have access to body oids.
 void apply(Name username)
          Call this method if you can provide usernames directly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

omgr

public RootDObjectManager omgr

message

public UserMessage message
Constructor Detail

SpeakUtil.MessageMapper

protected SpeakUtil.MessageMapper()
Method Detail

apply

public void apply(int bodyOid)
Description copied from interface: SpeakObject.ListenerOp
Call this method if you only have access to body oids.

Specified by:
apply in interface SpeakObject.ListenerOp

apply

public void apply(Name username)
Description copied from interface: SpeakObject.ListenerOp
Call this method if you can provide usernames directly.

Specified by:
apply in interface SpeakObject.ListenerOp