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