Change pong from notification to response. Cling pings, server pongs.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@26 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-06-05 21:53:45 +00:00
parent 2d9452c16b
commit 03e2dbc9cb
2 changed files with 7 additions and 7 deletions
@@ -1,17 +1,17 @@
//
// $Id: PongResponse.java,v 1.2 2001/05/30 23:58:31 mdb Exp $
// $Id: PongResponse.java,v 1.3 2001/06/05 21:53:45 mdb Exp $
package com.threerings.cocktail.cher.net;
public class PongNotification extends DownstreamMessage
public class PongResponse extends DownstreamMessage
{
/** The code for a pong notification. */
/** The code for a pong response. */
public static final short TYPE = TYPE_BASE + 4;
/**
* Zero argument constructor used when unserializing an instance.
*/
public PongNotification ()
public PongResponse ()
{
super();
}
@@ -1,5 +1,5 @@
//
// $Id: Registry.java,v 1.3 2001/06/05 21:29:51 mdb Exp $
// $Id: Registry.java,v 1.4 2001/06/05 21:53:45 mdb Exp $
package com.threerings.cocktail.cher.net;
@@ -45,8 +45,8 @@ public class Registry
ObjectResponse.class);
TypedObjectFactory.registerClass(FailureResponse.TYPE,
FailureResponse.class);
TypedObjectFactory.registerClass(PongNotification.TYPE,
PongNotification.class);
TypedObjectFactory.registerClass(PongResponse.TYPE,
PongResponse.class);
// register our credential classes
TypedObjectFactory.registerClass(UsernamePasswordCreds.TYPE,