Slightly better implementation of peers, still need to create a more generic system for deciding which components to distribute where and then use that for Peers.
This commit is contained in:
parent
e013fb427a
commit
53fe3333f0
14 changed files with 438 additions and 265 deletions
|
|
@ -1,18 +1,17 @@
|
|||
mod distribution;
|
||||
mod heartbeat;
|
||||
mod io;
|
||||
mod packet;
|
||||
mod peer;
|
||||
mod plugin;
|
||||
mod queues;
|
||||
mod socket;
|
||||
mod state;
|
||||
mod thread;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
pub mod prelude {
|
||||
pub use super::distribution::Networked;
|
||||
pub use super::distribution::distribution_plugin;
|
||||
pub use super::packet::{InboundPacket, OutboundPacket, Packet};
|
||||
pub use super::peer::{Peer, PeerReceiveTiming, PeerSendTiming};
|
||||
pub use super::peer::{Peer, PeerID, PeerReceiveTiming, PeerSendTiming, PotentialPeers};
|
||||
pub use super::plugin::NetIOPlugin;
|
||||
pub use super::state::NetworkState;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue