Class SCPEnvelopeStore
class SCPEnvelopeStore
;
Constructors
Name | Description |
---|---|
this
(db)
|
Constructor |
Fields
Name | Type | Description |
---|---|---|
log
|
Logger | Logger instance |
Methods
Name | Description |
---|---|
add
(envelope, processed)
|
Store the envelope to the database. |
length
()
|
|
lock
()
|
Lock / Unlock the underlying database for updates |
opApply
(dg)
|
Walk over the envelopes in the database and call the provided delegate |
removeAll
()
|
Remove all envelopes from the database |
unlock
(commit)
|
Lock / Unlock the underlying database for updates |