public void unsubscribe ( String name , Listener l ) { synchronized ( _listeners ) { List list = ( List ) _listeners . get ( name ) ; if ( list != null ) { list . remove ( l ) ; if ( list . size ( ) == 0 ) { unsubscribe ( name ) ; } } } }
Unsubscribe a single listener from a channel . This does not send a message to the server unless the listener is the only listener of this channel .