Don't use the EventFactory for now because that's all changing.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@13 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-05-30 23:59:16 +00:00
parent 89d073b13c
commit f96c7661af
2 changed files with 6 additions and 8 deletions
@@ -1,5 +1,5 @@
// //
// $Id: EventNotification.java,v 1.3 2001/05/30 23:58:31 mdb Exp $ // $Id: EventNotification.java,v 1.4 2001/05/30 23:59:16 mdb Exp $
package com.threerings.cocktail.cher.net; package com.threerings.cocktail.cher.net;
@@ -8,7 +8,6 @@ import java.io.DataInputStream;
import java.io.DataOutputStream; import java.io.DataOutputStream;
import com.threerings.cocktail.cher.dobj.Event; import com.threerings.cocktail.cher.dobj.Event;
import com.threerings.cocktail.cher.dobj.EventFactory;
public class EventNotification extends DownstreamMessage public class EventNotification extends DownstreamMessage
{ {
@@ -40,14 +39,14 @@ public class EventNotification extends DownstreamMessage
throws IOException throws IOException
{ {
super.writeTo(out); super.writeTo(out);
_event.writeTo(out); // _event.writeTo(out);
} }
public void readFrom (DataInputStream in) public void readFrom (DataInputStream in)
throws IOException throws IOException
{ {
super.readFrom(in); super.readFrom(in);
_event = EventFactory.readFrom(in); // _event = EventFactory.readFrom(in);
} }
/** The event which we are forwarding. */ /** The event which we are forwarding. */
@@ -1,5 +1,5 @@
// //
// $Id: ForwardEventRequest.java,v 1.2 2001/05/30 23:58:31 mdb Exp $ // $Id: ForwardEventRequest.java,v 1.3 2001/05/30 23:59:16 mdb Exp $
package com.threerings.cocktail.cher.net; package com.threerings.cocktail.cher.net;
@@ -8,7 +8,6 @@ import java.io.DataInputStream;
import java.io.DataOutputStream; import java.io.DataOutputStream;
import com.threerings.cocktail.cher.dobj.Event; import com.threerings.cocktail.cher.dobj.Event;
import com.threerings.cocktail.cher.dobj.EventFactory;
public class ForwardEventNotification extends UpstreamMessage public class ForwardEventNotification extends UpstreamMessage
{ {
@@ -40,14 +39,14 @@ public class ForwardEventNotification extends UpstreamMessage
throws IOException throws IOException
{ {
super.writeTo(out); super.writeTo(out);
_event.writeTo(out); // _event.writeTo(out);
} }
public void readFrom (DataInputStream in) public void readFrom (DataInputStream in)
throws IOException throws IOException
{ {
super.readFrom(in); super.readFrom(in);
_event = EventFactory.readFrom(in); // _event = EventFactory.readFrom(in);
} }
/** The event which we are forwarding. */ /** The event which we are forwarding. */