def signal_connection(self):
        """Signal connection of segment to node.

        Used to make the node aware of connection, so
        measures can be taken, if needed.
        """
        try: method = self.node.signal_connection
        except AttributeError:
            pass
        else:
            method(self)
Signal connection of segment to node.

        Used to make the node aware of connection, so
        measures can be taken, if needed.
        
nodezator/graphman/socket/input.py