PendingMessageRepository class
Constructors
- PendingMessageRepository(Database _database)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteFailedMessages(
) → Future< void> -
deleteResolvedMessages(
) → Future< void> -
insertWaitingMessage(
WaitingMessage message) → Future< void> -
insertWaitingMessages(
List< WaitingMessage> messages) → Future<void> -
markMessageFailed(
int id) → Future< void> -
markMessageResolved(
int id) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
yieldAllWaitingMessages(
) → Future< List< WaitingMessage> > -
yieldWaitingMessagesByChannel(
String channel) → Future< List< WaitingMessage> >
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- wasInitialized ↔ bool
-
getter/setter pair
Static Methods
-
createDatabase(
String dbName) → Future< PendingMessageRepository> -
getInstance(
{String name = _defaultDatabaseName}) → Future< PendingMessageRepository>
Constants
- columnChannel → const String
- columnEvent → const String
- columnFailed → const String
- columnFinalPayload → const String
- columnId → const String
- columnPayload → const String
- columnResolved → const String
- columnTimestamp → const String
- tableName → const String