Struct ethcore_rpc::ConfirmationsQueue [] [src]

pub struct ConfirmationsQueue { /* fields omitted */ }

Queue for all unconfirmed requests.

Methods

impl ConfirmationsQueue
[src]

Blocks the thread and starts listening for notifications regarding all actions in the queue. For each event, listener callback will be invoked. This method can be used only once (only single consumer of events can exist).

Notifies consumer that the communcation is over. No more events will be sent after this function is invoked.

Trait Implementations

impl Default for ConfirmationsQueue
[src]

Returns the "default value" for a type. Read more

impl Drop for ConfirmationsQueue
[src]

A method called when the value goes out of scope. Read more

impl SigningQueue for ConfirmationsQueue
[src]

Add new request to the queue. Returns a ConfirmationPromise that can be used to await for resolution of given request. Read more

Returns a request if it is contained in the queue.

Removes a request from the queue. Notifies possible token holders that request was rejected. Read more

Removes a request from the queue. Notifies possible token holders that request was confirmed and given hash was assigned. Read more

Return copy of all the requests in the queue.

Returns number of requests awaiting confirmation.

Returns true if there are no requests awaiting confirmation.