[ 
https://issues.apache.org/jira/browse/QUARKS-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15222589#comment-15222589
 ] 

Daniel John Debrunner commented on QUARKS-108:
----------------------------------------------

It's not done in two places, getInputs() does not determine the number of input 
ports.

It's javadoc states:

??Get the input stream data handlers for this oplet. The number of handlers 
must equal the number of configured input ports. Each tuple arriving on an 
input port will be sent to the stream handler for that input port.??

> [Question] Inserting oplets into the graph
> ------------------------------------------
>
>                 Key: QUARKS-108
>                 URL: https://issues.apache.org/jira/browse/QUARKS-108
>             Project: Quarks
>          Issue Type: Improvement
>            Reporter: Will Marshall
>            Priority: Trivial
>
> When creating an oplet, the getInputs() method needs to be overridden to 
> provide the consumers which process the data. Thus, an implementation of 
> getInputs() determines the number of input ports.
> At the same time, DirectGraph.insert(oplet, inputs, output) requires that the 
> user specify the number of input ports. Why does this have to be done in two 
> places?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to