public SIMPIterator getLocalSubscriptionIterator() throws SIMPException
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getLocalSubscriptionIterator");    

    SIMPIterator topicSpaces = getTopicSpaceIterator();
    SubscriptionIndex subs = new SubscriptionIndex();
        
    while(topicSpaces.hasNext())
    {
      Topicspace ts = (Topicspace) topicSpaces.next();
      SIMPIterator sub = ts.getInternalLocalSubscriptionIterator();
      while (sub.hasNext())
      {
        subs.put((ControllableSubscription)sub.next());
      }
    }    
    
    ControllableIterator itr = new ControllableIterator(subs.iterator());
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "getLocalSubscriptionIterator", itr);  
    return itr;
  }
public SIMPIterator getLocalSubscriptionIterator ( ) throws SIMPException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getLocalSubscriptionIterator" ) ; SIMPIterator topicSpaces = getTopicSpaceIterator ( ) ; SubscriptionIndex subs = new SubscriptionIndex ( ) ; while ( topicSpaces . hasNext ( ) ) { Topicspace ts = ( Topicspace ) topicSpaces . next ( ) ; SIMPIterator sub = ts . getInternalLocalSubscriptionIterator ( ) ; while ( sub . hasNext ( ) ) { subs . put ( ( ControllableSubscription ) sub . next ( ) ) ; } } ControllableIterator itr = new ControllableIterator ( subs . iterator ( ) ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getLocalSubscriptionIterator" , itr ) ; return itr ; }
/* (non-Javadoc)
@see com.ibm.ws.sib.processor.runtime.SIMPMessageProcessorControllable#getLocalSubscriptionIterator()