protected void sendToNeighbours ( SubscriptionMessage msg , Transaction transaction , boolean startup ) throws SIResourceException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "sendToNeighbours" , new Object [ ] { msg , transaction , new Boolean ( startup ) } ) ; for ( int i = 0 ; i < iNeighbours . length ; i ++ ) { // Only want to set the subscription message type if we are at startup. if ( startup ) { msg . setSubscriptionMessageType ( SubscriptionMessageType . REQUEST ) ; iNeighbours [ i ] . setRequestedProxySubscriptions ( ) ; } iNeighbours [ i ] . sendToNeighbour ( msg , transaction ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "sendToNeighbours" ) ; }
Sends the messages to all the Neighbours in this Bus .