private final void addToMessage ( SubscriptionMessageHandler messageHandler , Hashtable subscriptions ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "addToMessage" , new Object [ ] { messageHandler , subscriptions } ) ; // Get the enumeration of the subscriptions. Enumeration enu = subscriptions . elements ( ) ; while ( enu . hasMoreElements ( ) ) { final MESubscription subscription = ( MESubscription ) enu . nextElement ( ) ; // Add this subscription into the message. messageHandler . addSubscriptionToMessage ( subscription , isLocalBus ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "addToMessage" ) ; }
Adds the subscriptions to the subscription message