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:
@@ -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;
|
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;
|
public static final short TYPE = TYPE_BASE + 4;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Zero argument constructor used when unserializing an instance.
|
* Zero argument constructor used when unserializing an instance.
|
||||||
*/
|
*/
|
||||||
public PongNotification ()
|
public PongResponse ()
|
||||||
{
|
{
|
||||||
super();
|
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;
|
package com.threerings.cocktail.cher.net;
|
||||||
|
|
||||||
@@ -45,8 +45,8 @@ public class Registry
|
|||||||
ObjectResponse.class);
|
ObjectResponse.class);
|
||||||
TypedObjectFactory.registerClass(FailureResponse.TYPE,
|
TypedObjectFactory.registerClass(FailureResponse.TYPE,
|
||||||
FailureResponse.class);
|
FailureResponse.class);
|
||||||
TypedObjectFactory.registerClass(PongNotification.TYPE,
|
TypedObjectFactory.registerClass(PongResponse.TYPE,
|
||||||
PongNotification.class);
|
PongResponse.class);
|
||||||
|
|
||||||
// register our credential classes
|
// register our credential classes
|
||||||
TypedObjectFactory.registerClass(UsernamePasswordCreds.TYPE,
|
TypedObjectFactory.registerClass(UsernamePasswordCreds.TYPE,
|
||||||
|
|||||||
Reference in New Issue
Block a user