public SIMPIterator getRemoteBrowserReceiverIterator()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getRemoteBrowserReceiverIterator");
    
    AnycastOutputHandler aoh = destinationHandler.getAnycastOutputHandler();
    
    // Get the hashtable of all the browserSessions that are currently active
    Hashtable tableOfBrowserSessions = aoh.getBrowserSessions();
    
    // Get all the keys (AOBrowserSessionKey) that are contained in the table
    Set keySet = tableOfBrowserSessions.keySet();
    
    // Create our new list which we will passed to the RemoteBrowserIterator 
    List<AOBrowserSession> listOfBrowserSessions = new ArrayList<AOBrowserSession>();
    
    // For all the keys in the table
    for (Iterator iter = keySet.iterator(); iter.hasNext();)
    {
      // Get the first key
      AOBrowserSessionKey browserSessionKey = (AOBrowserSessionKey) iter.next();
      // Get the AOBrowserSession for this key
      AOBrowserSession aoBrowserSession = (AOBrowserSession) tableOfBrowserSessions.get(browserSessionKey);
      // Add the session to our new list
      listOfBrowserSessions.add(aoBrowserSession);
    }
    
    RemoteBrowserIterator remoteBrowserIterator = new RemoteBrowserIterator(listOfBrowserSessions.iterator());
          
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.exit(tc, "getRemoteBrowserReceiverIterator", remoteBrowserIterator);
    return remoteBrowserIterator;
  }
public SIMPIterator getRemoteBrowserReceiverIterator ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getRemoteBrowserReceiverIterator" ) ; AnycastOutputHandler aoh = destinationHandler . getAnycastOutputHandler ( ) ; Hashtable tableOfBrowserSessions = aoh . getBrowserSessions ( ) ; Set keySet = tableOfBrowserSessions . keySet ( ) ; List < AOBrowserSession > listOfBrowserSessions = new ArrayList < AOBrowserSession > ( ) ; for ( Iterator iter = keySet . iterator ( ) ; iter . hasNext ( ) ; ) { AOBrowserSessionKey browserSessionKey = ( AOBrowserSessionKey ) iter . next ( ) ; AOBrowserSession aoBrowserSession = ( AOBrowserSession ) tableOfBrowserSessions . get ( browserSessionKey ) ; listOfBrowserSessions . add ( aoBrowserSession ) ; } RemoteBrowserIterator remoteBrowserIterator = new RemoteBrowserIterator ( listOfBrowserSessions . iterator ( ) ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "getRemoteBrowserReceiverIterator" , remoteBrowserIterator ) ; return remoteBrowserIterator ; }
/* (non-Javadoc)
@see com.ibm.ws.sib.processor.runtime.SIMPLocalQueuePointControllable#getRemoteBrowserReceiver()