From f96c7661afe12a1f3c6fed8bd52be6dd585a617e Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Wed, 30 May 2001 23:59:16 +0000 Subject: [PATCH] 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 --- .../com/threerings/presents/net/EventNotification.java | 7 +++---- .../com/threerings/presents/net/ForwardEventRequest.java | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/java/com/threerings/presents/net/EventNotification.java b/src/java/com/threerings/presents/net/EventNotification.java index 8ca8f5b56..d9c44d4cf 100644 --- a/src/java/com/threerings/presents/net/EventNotification.java +++ b/src/java/com/threerings/presents/net/EventNotification.java @@ -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; @@ -8,7 +8,6 @@ import java.io.DataInputStream; import java.io.DataOutputStream; import com.threerings.cocktail.cher.dobj.Event; -import com.threerings.cocktail.cher.dobj.EventFactory; public class EventNotification extends DownstreamMessage { @@ -40,14 +39,14 @@ public class EventNotification extends DownstreamMessage throws IOException { super.writeTo(out); - _event.writeTo(out); + // _event.writeTo(out); } public void readFrom (DataInputStream in) throws IOException { super.readFrom(in); - _event = EventFactory.readFrom(in); + // _event = EventFactory.readFrom(in); } /** The event which we are forwarding. */ diff --git a/src/java/com/threerings/presents/net/ForwardEventRequest.java b/src/java/com/threerings/presents/net/ForwardEventRequest.java index 33e028379..63f91d080 100644 --- a/src/java/com/threerings/presents/net/ForwardEventRequest.java +++ b/src/java/com/threerings/presents/net/ForwardEventRequest.java @@ -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; @@ -8,7 +8,6 @@ import java.io.DataInputStream; import java.io.DataOutputStream; import com.threerings.cocktail.cher.dobj.Event; -import com.threerings.cocktail.cher.dobj.EventFactory; public class ForwardEventNotification extends UpstreamMessage { @@ -40,14 +39,14 @@ public class ForwardEventNotification extends UpstreamMessage throws IOException { super.writeTo(out); - _event.writeTo(out); + // _event.writeTo(out); } public void readFrom (DataInputStream in) throws IOException { super.readFrom(in); - _event = EventFactory.readFrom(in); + // _event = EventFactory.readFrom(in); } /** The event which we are forwarding. */