protected SubscriptionMessage generateResetSubscriptionMessage ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "generateResetSubscriptionMessage" ) ; // Get the Message Handler for doing this operation. final SubscriptionMessageHandler messageHandler = iProxyHandler . getMessageHandler ( ) ; // Reset the message. messageHandler . resetResetSubscriptionMessage ( ) ; // Add the local subscriptions addToMessage ( messageHandler , iLocalSubscriptions ) ; // Add the remote Subscriptions addToMessage ( messageHandler , iRemoteSubscriptions ) ; SubscriptionMessage message = messageHandler . getSubscriptionMessage ( ) ; // Add the message back into the pool iProxyHandler . addMessageHandler ( messageHandler ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "generateResetSubscriptionMessage" , message ) ; return message ; }
Generates the reset subscription message that should be sent to a member or members of this Bus .