DisconnectSystem

Git Source

Inherits: System

Functions

disconnect

Disconnects machine on a specified port.

function disconnect(bytes32 _sourceMachine, PORT_INDEX _portIndex) public;

Parameters

NameTypeDescription
_sourceMachinebytes32The id for the source machine.
_portIndexPORT_INDEXThe port index on the source machine which determines which connection to disconnect.

_removeIncomingConnection

function _removeIncomingConnection(bytes32 _targetMachine, bytes32 _connectedMachine)
    internal
    returns (bool disconnected);