<< ReceiveMessage mpi_scilab isRegisteredMessagePoint >>

mpi_scilab >> mpi_scilab > SendMessage

SendMessage

Sending message by message point

Syntax

sendingMessageInformation = SendMessage(MessagePointName, AdresatMessagePointName, SendingMessage)

Arguments

MessagePointName

The name of the messaging point through which the message is sended. Matrix of string

AdresatMessagePointName

Name of the destination messaging point to which the message is being sent

SendingMessage

Forwards the message

sendingMessageInformation

Forwarded message information

Description

Forwards the message through the messaging point of the sending process to the messaging point of the destination process

Examples

//Creating a new message point
messagePointInformation = CreateMessagePoint('MessagePoint1','192.168.0.153',3369);
disp(messagePointInformation);

//Sending message
sendingMessageInformation = SendMessage('MessagePoint1', 'MessagePoint2', 'Message proba');
disp(sendingMessageInformation);

//Deleted the created message point
messagePointInformation = DestroyMessagePoint('MessagePoint1');
disp(messagePointInformation);

See also


Report an issue
<< ReceiveMessage mpi_scilab isRegisteredMessagePoint >>