<< SendMessage mpi_scilab

mpi_scilab >> mpi_scilab > isRegisteredMessagePoint

isRegisteredMessagePoint

Returns the fact that the registered on a message server of message point

Syntax

[isRegistered, sendingMessageInformation] = isRegisteredMessagePoint(MessagePointName, AdresatMessagePointName, WaitingRegistered)

Arguments

MessagePointName

The name of the messaging point connected to the message server on which we check the fact of the registration of the destination messaging point

AdresatMessagePointName

The name of the destination messaging point whose registration we check on the message server

WaitingRegistered

The need to wait for the registration of the messaging point AdresatMessagePointName (% t - waiting for the registration of the messaging point AdresatMessagePointName;% f - issuing the fact of registration or not registering the messaging point AdresatMessagePointName)

isRegistered

Logical type: true - the destination messaging point is registered on the message server; false - the destination messaging point is not registered on the message server

sendingMessageInformation

Information about request

Description

Requested about a destination message point on a message server by message point registered on this message server

Examples

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

//Request about registered message point
[isRegistered, sendingMessageInformation] = isRegisteredMessagePoint('MessagePoint1', 'MessagePoint2');
disp(isRegistered);
disp(sendingMessageInformation);

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

See also


Report an issue
<< SendMessage mpi_scilab