EventStoreGossipClient class

Inheritance

Properties

api Versions
Get api versions. If verify is not invoked, Versions.server is null.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isGrpcWeb bool
True if this client is using grpc-web protocol
finalinherited
leader EndPoint
Get EndPoint for last known leader node. If connecting to a single node, this returns EventStoreClientSettings.singleNode.
no setterinherited
options → CallOptions?
GRPC CallOptions instance
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings EventStoreClientSettings
Connection name supplied as metadata to server
finalinherited
supportsClientStreamingRpc bool
Check if grpc protocol supports client streaming See https://github.com/grpc/grpc-web/blob/master/doc/interop-test-descriptions.md
no setterinherited

Methods

$createChannel(EndPoint endPoint) → GrpcOrGrpcWebClientChannel
inherited
discover() Future<EndPoint>
Discover node EndPoint given current EventStoreClientSettings.nodePreference.
inherited
isFeatureSupported(ApiFeature feature) bool
Check if given feature is supported by api.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(EndPoint endpoint, {bool extended = false}) Future<ClusterInfo>
Get ClusterInfo from given endpoint. If extended is 'true' extended information about leader is gathered, which includes server api version and active features.
shutdown() Future<void>
Shutdown all channels
inherited
toString() String
A string representation of this object.
inherited
verify() Future<void>
Verify that EventStoreClientSettings.apiVersion is compatible with server version. Throws a UnsupportedApiVersionException if MemberInfo.apiVersion is incompatible with requested EventStoreClientSettings.apiVersion.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited