cometd-java/cometd-java-server/cometd-java-server-common/src/main/java/org/cometd/server/AbstractService.java
/**
     * <p>Unmaps the method with the given name that has been mapped to the given channel.</p>
     *
     * @param channelName The channel name
     * @param methodName  The name of the method to unmap
     * @see #addService(String, String)
     * @see #removeService(String)
     */
Unmaps the method with the given name that has been mapped to the given channel.
@param channelName The channel name
@param methodName  The name of the method to unmap
@see #addService(String, String)
@see #removeService(String)
Unmaps the method with the given name that has been mapped to the given channel . @param channelName The channel name @param methodName The name of the method to unmap @see #addService ( String String ) @see #removeService ( String )
protected void removeService(String channelName, String methodName) {
        ServerChannel channel = _bayeux.getChannel(channelName);
        if (channel != null) {
            Invoker invoker = invokers.remove(methodName);
            channel.removeListener(invoker);
        }
    }
protected void removeService ( String channelName , String methodName ) { ServerChannel channel = _bayeux . getChannel ( channelName ) ; if ( channel != null ) { Invoker invoker = invokers . remove ( methodName ) ; channel . removeListener ( invoker ) ; } }
<p>Unmaps the method with the given name that has been mapped to the given channel.</p>
 @param channelName The channel name
 @param methodName  The name of the method to unmap
 @see #addService(String, String)
 @see #removeService(String)
<p > Unmaps the method with the given name that has been mapped to the given channel . < / p > @param channelName The channel name @param methodName The name of the method to unmap @see #addService ( String String ) @see #removeService ( String )