public void dispatchDestinationListenerEvent ( SICoreConnection conn , SIDestinationAddress destinationAddress , DestinationAvailability destinationAvailability , DestinationListener destinationListener ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "dispatchDestinationListenerEvent" , new Object [ ] { conn , destinationAddress , destinationAvailability , destinationListener } ) ; //Create a new DestinationListenerThread and dispatch it. final DestinationListenerThread thread = new DestinationListenerThread ( conn , destinationAddress , destinationAvailability , destinationListener ) ; dispatchThread ( thread ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "dispatchDestinationListenerEvent" ) ; }
Dispatches a thread which will call the destinationAvailable method on the destinationListener passing in the supplied parameters .