wsnsim/node.py
def _send_message(self, message: str, destination: str) -> Generator[Event, Any, Any]:
        """Sends a message to sink or neighbour nodes."""
        # Pass the message to the routing protocol
        event = self.routing_protocol.add_to_output_queue(message, destination)
        yield self.env.process(event)
Sends a message to sink or neighbour nodes.
Sends a message to sink or neighbour nodes.
Sends a message to sink or neighbour nodes .
def _send_message(self, message: str, destination: str) -> Generator[Event, Any, Any]:
        event = self.routing_protocol.add_to_output_queue(message, destination)
        yield self.env.process(event)
def _send_message ( self , message : str , destination : str ) -> Generator [ Event , Any , Any ] : event = self . routing_protocol . add_to_output_queue ( message , destination ) yield self . env . process ( event )
Sends a message to sink or neighbour nodes.
Sends a message to sink or neighbour nodes .
"""Sends a message to sink or neighbour nodes.""" # Pass the message to the routing protocol
self
message
str
destination
str