copyright The Portico Project 2008.

org.portico.lrc
Class LRCInterestManager.RegionSubscription

java.lang.Object
  extended by org.portico.lrc.LRCInterestManager.RegionSubscription
Enclosing class:
LRCInterestManager

private class LRCInterestManager.RegionSubscription
extends Object

This class represents a subscription interest with region data. It can be used for either interactions or attributes. The handle for the interaction or attribute type is stored, along with a list of any regions in which the interaction is subscribed.


Field Summary
private  int classHandle
           
private  Set<Integer> regionTokens
           
 
Constructor Summary
LRCInterestManager.RegionSubscription(int classHandle)
           
 
Method Summary
 void addRegion(int regionToken)
           
 Set<Integer> getRegionTokens()
           
 int hashCode()
           
 void removeRegion(int regionToken)
           
 boolean usesDDM()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classHandle

private int classHandle

regionTokens

private Set<Integer> regionTokens
Constructor Detail

LRCInterestManager.RegionSubscription

public LRCInterestManager.RegionSubscription(int classHandle)
Method Detail

addRegion

public void addRegion(int regionToken)

removeRegion

public void removeRegion(int regionToken)

getRegionTokens

public Set<Integer> getRegionTokens()

usesDDM

public boolean usesDDM()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

copyright The Portico Project 2008.