Get the transport specification out of the construction path, since it's not a

streamed property of the event. It turns out to be cleaner to just set it in
the places where we know that we want a specific transport anyway.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6581 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2011-04-02 00:01:46 +00:00
parent 22330e955b
commit fc7706c79d
29 changed files with 73 additions and 121 deletions
@@ -23,8 +23,6 @@ package com.threerings.presents.dobj;
import com.samskivert.util.StringUtil;
import com.threerings.presents.net.Transport;
/**
* A message event is used to dispatch a message to all subscribers of a distributed object without
* actually changing any of the fields of the object. A message has a name, by which different
@@ -43,11 +41,10 @@ public class MessageEvent extends NamedEvent
* @param name the name of the message event.
* @param args the arguments for this message. This array should contain only values of valid
* distributed object types.
* @param transport a hint as to the type of transport desired for the event.
*/
public MessageEvent (int targetOid, String name, Object[] args, Transport transport)
public MessageEvent (int targetOid, String name, Object[] args)
{
super(targetOid, name, transport);
super(targetOid, name);
_args = args;
}