cometd-java/cometd-java-server/cometd-java-server-common/src/main/java/org/cometd/server/AbstractService.java
/**
     * <p>Unmaps all the methods that have been mapped to the given channel.</p>
     *
     * @param channelName The channel name
     * @see #addService(String, String)
     * @see #removeService(String, String)
     */
Unmaps all the methods that have been mapped to the given channel.
@param channelName The channel name
@see #addService(String, String)
@see #removeService(String, String)
Unmaps all the methods that have been mapped to the given channel . @param channelName The channel name @see #addService ( String String ) @see #removeService ( String String )
protected void removeService(String channelName) {
        ServerChannel channel = _bayeux.getChannel(channelName);
        if (channel != null) {
            for (Invoker invoker : invokers.values()) {
                if (invoker.channelName.equals(channelName)) {
                    channel.removeListener(invoker);
                }
            }
        }
    }
protected void removeService ( String channelName ) { ServerChannel channel = _bayeux . getChannel ( channelName ) ; if ( channel != null ) { for ( Invoker invoker : invokers . values ( ) ) { if ( invoker . channelName . equals ( channelName ) ) { channel . removeListener ( invoker ) ; } } } }
<p>Unmaps all the methods that have been mapped to the given channel.</p>
 @param channelName The channel name
 @see #addService(String, String)
 @see #removeService(String, String)
<p > Unmaps all the methods that have been mapped to the given channel . < / p > @param channelName The channel name @see #addService ( String String ) @see #removeService ( String String )