Struct ethcore_network::NetworkService [] [src]

pub struct NetworkService { /* fields omitted */ }

IO Service with networking Message defines a notification data type.

Methods

impl NetworkService
[src]

Starts IO event loop

Regiter a new protocol handler with the event loop.

Returns host identifier string as advertised to other peers

Returns underlying io service.

Returns network statistics.

Returns network configuration.

Returns external url if available.

Returns external url if available.

Start network IO

Stop network IO

Get a list of all connected peers by id.

Try to add a reserved peer.

Try to remove a reserved peer.

Set the non-reserved peer mode.

Executes action in the network context

Evaluates function in the network context

Trait Implementations

impl MayPanic for NetworkService
[src]

closure will be invoked whenever panic in thread is caught