public class TaskGraphCableEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
CABLE_CONNECTED |
static int |
CABLE_DISCONNECTED |
static int |
CABLE_RECONNECTED_INPUT |
static int |
CABLE_RECONNECTED_OUTPUT |
static int |
GROUP_EVENT |
static int |
NON_GROUP_EVENT |
static int |
UNGROUP_EVENT |
Constructor and Description |
---|
TaskGraphCableEvent(int id,
TaskGraph taskgraph,
Cable cable,
int groupevent)
Constructs a task graph cable event
|
TaskGraphCableEvent(int id,
TaskGraph taskgraph,
java.lang.String sendid,
int sendnode,
java.lang.String recid,
int recnode,
int groupevent)
Constructs a task graph cable event
|
Modifier and Type | Method and Description |
---|---|
Cable |
getCable() |
int |
getGroupEventID() |
int |
getID() |
int |
getReceivingNodeIndex() |
java.lang.String |
getReceivingTaskID() |
int |
getSendingNodeIndex() |
java.lang.String |
getSendingTaskID() |
TaskGraph |
getTaskGraph() |
public static final int CABLE_CONNECTED
public static final int CABLE_RECONNECTED_INPUT
public static final int CABLE_RECONNECTED_OUTPUT
public static final int CABLE_DISCONNECTED
public static final int NON_GROUP_EVENT
public static final int GROUP_EVENT
public static final int UNGROUP_EVENT
public TaskGraphCableEvent(int id, TaskGraph taskgraph, Cable cable, int groupevent)
id
- the id of this event (either CABLE_CONNECTED, CABLE_RECONNECTED_INPUT, CABLE_RECONNECTED_OUTPUT
or CABLE_DISCONNECTED)taskgraph
- the source of the task graph eventcable
- the cable being connected/disconnectedpublic TaskGraphCableEvent(int id, TaskGraph taskgraph, java.lang.String sendid, int sendnode, java.lang.String recid, int recnode, int groupevent)
id
- the id of this event (either CABLE_CONNECTED, CABLE_RECONNECTED_INPUT, CABLE_RECONNECTED_OUTPUT
or CABLE_DISCONNECTED)taskgraph
- the source of the task graph eventsendid
- the instance id of the sending tasksendnode
- the absolute index of the sending noderecid
- the instance id of the receiving taskrecnode
- the absolute index of the receiving nodepublic int getID()
public int getGroupEventID()
public TaskGraph getTaskGraph()
public Cable getCable()
public java.lang.String getSendingTaskID()
public int getSendingNodeIndex()
public java.lang.String getReceivingTaskID()
public int getReceivingNodeIndex()