Class SCPEnvelopeStore

class SCPEnvelopeStore ;

Constructors

NameDescription
this (db) Constructor

Fields

NameTypeDescription
log LoggerLogger instance

Methods

NameDescription
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