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