Added isActive().

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2914 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-12-15 17:12:11 +00:00
parent 3e466530f6
commit d425ec7abb
@@ -1,5 +1,5 @@
//
// $Id: SafeSubscriber.java,v 1.3 2003/12/11 18:47:43 mdb Exp $
// $Id: SafeSubscriber.java,v 1.4 2003/12/15 17:12:11 mdb Exp $
package com.threerings.presents.util;
@@ -40,6 +40,15 @@ public class SafeSubscriber
_subscriber = subscriber;
}
/**
* Returns true if we are currently subscribed to our object (or in
* the process of obtaining a subscription).
*/
public boolean isActive ()
{
return _active;
}
/**
* Initiates the subscription process.
*/