ConnectSystem
Inherits: System
Functions
connect
Connect source machine to target machine on a specified port
Resolves network
function connect(bytes32 _sourceMachine, bytes32 _targetMachine, PORT_INDEX _portIndex) public;
Parameters
Name | Type | Description |
---|---|---|
_sourceMachine | bytes32 | The id for the source machine. |
_targetMachine | bytes32 | The id for the target machine. |
_portIndex | PORT_INDEX | The port index on the source machine which determines the position (FIRST or SECOND) to write in the outgoing connections array. |