Client class

Constructors

Client()
factory

Properties

clientID String
no setter
clusterID String
getter/setter pair
connected bool
no setter
connectionID String
final
connectionIDAscii List<int>
no setter
connectOption ↔ ConnectOption?
getter/setter pair
failPings int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
host String
getter/setter pair
pingInterval int
getter/setter pair
pingMaxAttempts int
getter/setter pair
port int
getter/setter pair
retryInterval int
getter/setter pair
retryReconnect bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout int
getter/setter pair

Methods

acknowledge(Subscription subscription, DataMessage dataMessage) → void
close() → void
connect({required String host, int port = 4222, int? timeout, ConnectOption? connectOption, bool? retryReconnect, int? retryInterval, String? clientID, String? clusterID, int? pingInterval, int? pingMaxAttempts}) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onConnect({required Function function}) → void
onDisconnect({required Function function}) → void
ping() Future<bool>
pingResponseWatchdog() Future<void>
pubString({required String subject, required String string}) Future<bool>
subscribe({required String subject, int maxInFlight = 2, int ackWaitSeconds = 3, StartPosition startPosition = StartPosition.NewOnly, String? queueGroup, String? durableName, Int64? startSequence, Int64? startTimeDelta}) Future<Subscription?>
toString() String
A string representation of this object.
inherited

Operators

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