PullConsumer

Parent Previous Next

Data_Access / Corba
Block Name: PullConsumer

Code File Location: VisualSim/actor/corba/PullConsumer

Description

PullConsumer sends pull request to a remote publisher and asks for data. Specify the ORB initial property with the ORBInitProperties parameter, for example: "-ORBInitialHost xyz.mirabilisdesign.com -ORBInitialPort 1050" where "xyz.mirabilisdesign.com" is the machine server name, and "1050" is the port for name service. Specify the name of the supplier with remoteSupplierName, which is the supplier it wants to request data from. If the blocking parameter is true, then wait until there is token received, otherwise, send a default value specified by the defaultToken parameter. Notice that the type of the output port is determined by the type of this parameter.


Parameter

Explanation

Type

Example

ORBInitProperties

It is the ORB initial property.  


"-ORBInitialHost xyz.mirabilisdesign.com -ORBInitialPort 1050"

remoteSupplierName

The name of the remote supplier.  

StringToken


blocking

Indicate the actor blocks when it does not receive data. The default value is false.

BooleanToken


defaultToken

The default token. If the actor is nonblocking and there is no new token received after the last fire() method call, then this token will be output when the fire() method is called. The default value is 0.0. Notice that the type of the output port is determined by the type of this parameter.

double




Port

Explanation

Type

trigger

The input port.

unknown

output

The output port.

double





 

Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents