@ SuppressWarnings ( "unlikely-arg-type" ) public boolean unsubscribe ( IProvider provider ) { if ( providers . remove ( provider ) ) { fireProviderConnectionEvent ( provider , PipeConnectionEvent . EventType . PROVIDER_DISCONNECT , null ) ; listeners . remove ( provider ) ; return true ; } return false ; }
Disconnects provider from this pipe . Fires pipe connection event .