On Mon, Apr 21, 2008 at 11:16 PM, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
> interface Resource extends Entity {
> public boolean isConnected() { ...};
> public boolean isAvailable() {...};
> public boolean isInterested() {...};
> ...
> }
>
actually, i think this is not a good idea.
it doesn't fit how we use Entity now.
this information should rather be held in sessioncontext or resourceregistry
alongside maybe with convenience methods like
Iterator<Entity> getInterestedResourceIterator();
Gerolf
