Struct ethcore_rpc::v1::NetClient [] [src]

pub struct NetClient<S: ?Sized> where S: SyncProvider { /* fields omitted */ }

Net rpc implementation.

Methods

impl<S: ?Sized> NetClient<S> where S: SyncProvider
[src]

Creates new NetClient.

Trait Implementations

impl<S: ?Sized> Net for NetClient<S> where S: SyncProvider + 'static
[src]

Returns protocol version.

Returns number of peers connected to node.

Returns true if client is actively listening for network connections. Otherwise false. Read more

Transform this into an IoDelegate, automatically wrapping the parameters. Read more