When a peer connects to us, turn around and immediately connect back to them.
Don't wait up to 60 seconds for the next peer refresh interval. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5514 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -82,6 +82,18 @@ public class PeerSession extends PresentsSession
|
||||
|
||||
// save the client oid so we know it even after the object itself is cleared out
|
||||
_cloid = _clobj.getOid();
|
||||
|
||||
// let the peer manager know that we're here
|
||||
_peermgr.peerStartedSession(this);
|
||||
}
|
||||
|
||||
@Override // documentation inherited
|
||||
protected void sessionDidEnd ()
|
||||
{
|
||||
super.sessionDidEnd();
|
||||
|
||||
// let the peer manager know that we're audi
|
||||
_peermgr.peerEndedSession(this);
|
||||
}
|
||||
|
||||
@Override // from PresentsSession
|
||||
|
||||
Reference in New Issue
Block a user