pub trait CommunicationService<Pkg: Writable + Readable>: OutMsgQueue<Pkg> + InMsgQueue<Pkg> { }
Expand description

A CommunicationService is the main interface to send and receive packages. It’s the conjunction of an OutMsgQueue and an InMsgQueue.

Implementors§

source§

impl<Conn: Connection, Addr: Address, F, R: Router<Address = Addr>> CommunicationService<Package<SystemNodeId, Vec<u8, MESSAGE_BUFFER_MAX_SIZE>>> for GenericCommunicationService<Conn, Addr, F, R>
where F: ConnectionFactory<Address = Addr, Connection = Conn>,