[kepler-dev] [kepler-users] 1 question about the web service actor

Alex Chen alkchen at ucdavis.edu
Thu Jan 4 17:42:21 PST 2007


Hi, Ilkay:

  Thanks for the reply. Actually I understood what you said.
  But my question was: why ConfigureActor calls both createPorts  (which 
should have instantiated all the ports)
  and _createPort (an extra calling, seeming to instantiate output port)?

thanks,
Alex

Ilkay Altintas wrote:
>
> Alex,
>
> _createPort is a private method that creates one port, where as 
> createPorts uses that method to create all the ports in a loop. Does 
> this help or is there something I'm misunderstanding?
>
> kepler-dev is a better target for development emails so I've changed 
> the mailing list...
>
> Cheers,
> -ilkay
>
>
> On Jan 4, 2007, at 12:11 PM, Alex Chen wrote:
>
>> Hi, to anyone who is familiar with the web service actor:
>>
>> The current web service actor uses IOport uniformly for inputs.
>> I am trying to make it distinguishable between data ports and parameter
>> ports using portparameters.
>>
>> As I read through the code, I ran into 1 question:
>> 1. configureActor method calls createPorts relatively early, and
>> createPort calls _createPort using loop to actually create individual
>> ports. Intuitively, it should taken care of all the port instantiation.
>> However, createPorts method calls _createPort in the later part of the
>> code, which seems to create output ports, but should it had been taken
>> cared of by createPorts?
>>
>> thanks a lot,
>> Alex
>>
>>
>> _______________________________________________
>> Kepler-users mailing list
>> Kepler-users at ecoinformatics.org <mailto:Kepler-users at ecoinformatics.org>
>> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users
>
>
>



More information about the Kepler-dev mailing list