(self)
return signal_conn
Create a connection to the specified signal over a unix socket

        :returns: a socket connection which can read/write data to the specified signal
Create a connection to the specified signal over a unix socket
Create a connection to the specified signal over a unix socket
def _connect_to_signal_process(self) -> socket.socket:
        """ Create a connection to the specified signal over a unix socket

        :returns: a socket connection which can read/write data to the specified signal
        """
        # this creates an abstract namespace socket which is auto-cleaned on program exit
        signal_conn = socket.socket(socket.AF_UNIX)
        signal_conn.connect(f"\0{self.signal_namespace}-{self.name}-{self.app}-socket")

        signal_kwargs = json.dumps({"parameters": self.parameters})
        signal_conn.send(signal_kwargs.encode())
        logger.info(f"Connected to signal {self.name} from {self.signal_namespace}")

        return signal_conn
def _connect_to_signal_process ( self ) -> socket . socket : # this creates an abstract namespace socket which is auto-cleaned on program exit signal_conn = socket . socket ( socket . AF_UNIX ) signal_conn . connect ( f"\0{self.signal_namespace}-{self.name}-{self.app}-socket" ) signal_kwargs = json . dumps ( { "parameters" : self . parameters } ) signal_conn . send ( signal_kwargs . encode ( ) ) logger . info ( f"Connected to signal {self.name} from {self.signal_namespace}" ) return signal_conn