Forward Sending Messaging (forward_sending_messaging)

class pypint.communicators.forward_sending_messaging.ForwardSendingMessaging(*args, **kwargs)[source]

Bases: pypint.communicators.i_communication_provider.ICommunicationProvider

A linear forward-directed communication pattern

Links the given communicators with this communicator

Parameters:
Raises:

ValueError – if one of the two communicators of the specified type is not given

receive(*args, **kwargs)[source]

Returns this communicator’s buffer

Returns:message
Return type:Message
send(*args, **kwargs)[source]

Sends given message to the next communicator

See also

ICommunicationProvider.write_buffer()
for allowed arguments