TaskReceiver

Parent Previous Next

Data_Access / Corba
Block Name: TaskReceiver

Code File Location: VisualSim/actor/corba/TaskReceiver

Description

TaskReceiver register itself to a remote data provided that implements the Coordinator inteface and receives data from it. 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 coordinator with coordinatorName, which is registed on the name server. Specify whether the actor blocks when it does not receive data with the blocking parameter. Specify the name of this client with ClientName. See TaskCoordinator.java for the implementation of the coordinator.


Parameter

Explanation

Type

Example

ORBInitProperties

It is the ORB initial property.  


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

coordinatorName

The name of the remote supplier.  

StringToken


thisClientName

The name represents the client application that the instance of this actor belongs to.



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 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 EBooks