All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eventstore.dbclient.SubscribePersistentSubscriptionToAll Maven / Gradle / Ivy

package com.eventstore.dbclient;

import com.eventstore.dbclient.proto.persistentsubscriptions.Persistent;
import com.eventstore.dbclient.proto.shared.Shared;

class SubscribePersistentSubscriptionToAll extends AbstractSubscribePersistentSubscription {
    public SubscribePersistentSubscriptionToAll(GrpcClient connection, String group,
                                                SubscribePersistentSubscriptionOptions options,
                                                PersistentSubscriptionListener listener) {
        super(connection, group, options, listener);
    }

    @Override
    protected Persistent.ReadReq.Options.Builder createOptions() {
        return defaultReadOptions.clone()
                .setAll(Shared.Empty.newBuilder());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy