protected override bool ReadUnsubscribeResponse(ClientMessage unsubscribeResponseMessage, SubscriptionState <CollectionItemEventHandlers <T> > state)
 => SetRemoveListenerCodec.DecodeResponse(unsubscribeResponseMessage).Response;
예제 #2
0
 public override bool RemoveItemListener(string registrationId)
 {
     return(StopListening(s => SetRemoveListenerCodec.EncodeRequest(GetName(), s),
                          message => SetRemoveListenerCodec.DecodeResponse(message).response,
                          registrationId));
 }