public virtual bool RemoveMessageListener(string registrationId) { return(StopListening(s => TopicRemoveMessageListenerCodec.EncodeRequest(GetName(), s), m => TopicRemoveMessageListenerCodec.DecodeResponse(m).response, registrationId)); }
private static bool ReadUnsubscribeResponse(ClientMessage message, object state) => TopicRemoveMessageListenerCodec.DecodeResponse(message).Response;