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:
Michael Bayne
2008-11-07 01:33:23 +00:00
parent 38e352443f
commit 01ac320432
2 changed files with 31 additions and 2 deletions
@@ -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