com.threerings.presents.dobj
Class ServerMessageEvent
java.lang.Object
com.threerings.presents.dobj.DEvent
com.threerings.presents.dobj.NamedEvent
com.threerings.presents.dobj.MessageEvent
com.threerings.presents.dobj.ServerMessageEvent
- All Implemented Interfaces:
- Streamable
public class ServerMessageEvent
- extends MessageEvent
A message event that only goes to the server. If generated on the server then it never leaves
the server.
|
Constructor Summary |
ServerMessageEvent(int targetOid,
String name,
Object[] args)
Constructs a new message event on the specified target object with the supplied name and
arguments. |
|
Method Summary |
boolean |
isPrivate()
Some events are used only internally on the server and need not be broadcast to subscribers,
proxy or otherwise. |
ServerMessageEvent
public ServerMessageEvent(int targetOid,
String name,
Object[] args)
- Constructs a new message event on the specified target object with the supplied name and
arguments.
- Parameters:
targetOid - the object id of the object whose attribute has changed.name - the name of the message event.args - the arguments for this message. This array should contain only values of valid
distributed object types.
isPrivate
public boolean isPrivate()
- Description copied from class:
DEvent
- Some events are used only internally on the server and need not be broadcast to subscribers,
proxy or otherwise. Such events can return true here and short-circuit the normal proxy
event dispatch mechanism.
- Overrides:
isPrivate in class DEvent