fulmine.model.container.subscription.remote
Interface IRemoteSubscribable

All Known Subinterfaces:
IContainer
All Known Implementing Classes:
AbstractContainer, AbstractDynamicContainer, AbstractEventProcessingContainer, BasicContainer, Record

public interface IRemoteSubscribable

An object that tracks remote subscriptions on itself.

Author:
Ramon Servadei

Method Summary
 int getRemoteSubscriptionCount()
          Get the number of remote subscriptions this.
 int markForRemoteSubscription()
          Mark this for remote subscription.
 int unmarkForRemoteSubscription()
          Unmark this from remote subscriptions.
 

Method Detail

markForRemoteSubscription

int markForRemoteSubscription()
Mark this for remote subscription. This increments a subscription counter.

Returns:
the number of subscriptions for this after the marking operation completes

unmarkForRemoteSubscription

int unmarkForRemoteSubscription()
Unmark this from remote subscriptions. This decrements a subscription counter.

Returns:
the number of subscriptions for this after the unmarking operation completes

getRemoteSubscriptionCount

int getRemoteSubscriptionCount()
Get the number of remote subscriptions this.

Returns:
the number of remote subscriptions for this


Copyright © 2007-2009. All Rights Reserved.