[−][src]Trait caminos_lib::router::StatusAtEmissor
Structure for a port to contain the information necessary about the other endpoint, so that we can know if we can send data.
Required methods
pub fn num_virtual_channels(&self) -> usize
[src]
Get the number of virtual channels used in the link.
pub fn acknowledge(&mut self, message: AcknowledgeMessage)
[src]
Receive a phit acknowledge from the receiving endpoint.
pub fn notify_outcoming_phit(&mut self, virtual_channel: usize, cycle: usize)
[src]
Keep track of a outcoming phit.
pub fn can_transmit(&self, phit: &Rc<Phit>, virtual_channel: usize) -> bool
[src]
Check if we can transmit a given phit.
pub fn can_transmit_whole_packet(
&self,
phit: &Rc<Phit>,
virtual_channel: usize
) -> bool
[src]
&self,
phit: &Rc<Phit>,
virtual_channel: usize
) -> bool
Check if we can surely transmit and store the whole remaining of the packet.
pub fn known_available_space_for_virtual_channel(
&self,
virtual_channel: usize
) -> Option<usize>
[src]
&self,
virtual_channel: usize
) -> Option<usize>
Consult available space.
pub fn get_last_transmission(&self) -> usize
[src]
Get timestamp of last transmission.
Implementors
impl StatusAtEmissor for StatusAtServer
[src]
pub fn num_virtual_channels(&self) -> usize
[src]
pub fn acknowledge(&mut self, message: AcknowledgeMessage)
[src]
pub fn notify_outcoming_phit(&mut self, _virtual_channel: usize, _cycle: usize)
[src]
pub fn can_transmit(&self, phit: &Rc<Phit>, _virtual_channel: usize) -> bool
[src]
pub fn can_transmit_whole_packet(
&self,
_phit: &Rc<Phit>,
_virtual_channel: usize
) -> bool
[src]
&self,
_phit: &Rc<Phit>,
_virtual_channel: usize
) -> bool
pub fn known_available_space_for_virtual_channel(
&self,
_virtual_channel: usize
) -> Option<usize>
[src]
&self,
_virtual_channel: usize
) -> Option<usize>