ConnectSystem

Git Source

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

NameTypeDescription
_sourceMachinebytes32The id for the source machine.
_targetMachinebytes32The id for the target machine.
_portIndexPORT_INDEXThe port index on the source machine which determines the position (FIRST or SECOND) to write in the outgoing connections array.