public static final class GraphInterpreter.Connection
extends java.lang.Object
Contains all the necessary information for the GraphInterpreter to be able to implement a connection between an output and input ports.
param: id Identifier of the connection. Corresponds to the array slot in the GraphInterpreter.GraphAssembly
param: inOwnerId Identifier of the owner of the input side of the connection. Corresponds to the array slot in
the GraphInterpreter.GraphAssembly
param: inOwner The stage logic that corresponds to the input side of the connection.
param: outOwnerId Identifier of the owner of the output side of the connection. Corresponds to the array slot
in the GraphInterpreter.GraphAssembly
param: outOwner The stage logic that corresponds to the output side of the connection.
param: inHandler The handler that contains the callback for input events.
param: outHandler The handler that contains the callback for output events.
Constructor and Description |
---|
Connection(int id,
int inOwnerId,
GraphStageLogic inOwner,
int outOwnerId,
GraphStageLogic outOwner,
InHandler inHandler,
OutHandler outHandler) |
Modifier and Type | Method and Description |
---|---|
int |
id() |
InHandler |
inHandler() |
GraphStageLogic |
inOwner() |
int |
inOwnerId() |
OutHandler |
outHandler() |
GraphStageLogic |
outOwner() |
int |
outOwnerId() |
int |
portState() |
java.lang.Object |
slot() |
java.lang.String |
toString() |
public Connection(int id, int inOwnerId, GraphStageLogic inOwner, int outOwnerId, GraphStageLogic outOwner, InHandler inHandler, OutHandler outHandler)
public int id()
public int inOwnerId()
public GraphStageLogic inOwner()
public int outOwnerId()
public GraphStageLogic outOwner()
public InHandler inHandler()
public OutHandler outHandler()
public int portState()
public java.lang.Object slot()
public java.lang.String toString()
toString
in class java.lang.Object