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