Exemplo n.º 1
0
 def __init__(self, chip_x=None, chip_y=None, local_host=None,
              local_port=None, remote_host=None, remote_port=None):
     """
     :param chip_x: The optional x-coordinate of the chip at the remote\
             end of the connection.  If not specified, it will not be\
             possible to send sdp messages that require a response with\
             this connection.
     :type chip_x: int
     :param chip_y: The optional y-coordinate of the chip at the remote\
             end of the connection.  If not specified, it will not be\
             possible to send sdp messages that require a response with\
             this connection.
     :type chip_y: int
     :param local_host: The optional ip address or host name of the local\
             interface to listen on
     :type local_host: str
     :param local_port: The optional local port to listen on
     :type local_port: int
     :param remote_host: The optional remote host name or ip address to\
             send messages to.  If not specified, sending will not be\
             possible using this connection
     :type remote_host: str
     :param remote_port: The optional remote port number to send messages\
             to.  If not specified, sending will not be possible using this\
             connection
     """
     UDPConnection.__init__(
         self, local_host, local_port, remote_host, remote_port)
     AbstractSDPReceiver.__init__(self)
     AbstractSDPSender.__init__(self)
     AbstractListenable.__init__(self)
     self._chip_x = chip_x
     self._chip_y = chip_y
    def __init__(self, local_host=None, local_port=None, remote_host=None,
                 remote_port=None):
        """

        :param local_host: The optional ip address or host name of the local\
                interface to listen on
        :type local_host: str
        :param local_port: The optional local port to listen on
        :type local_port: int
        :param remote_host: The optional remote host name or ip address to\
                send messages to.  If not specified, sending will not be\
                possible using this connection
        :type remote_host: str
        :param remote_port: The optional remote port number to send messages\
                to.  If not specified, sending will not be possible using this\
                connection
        """
        UDPConnection.__init__(
            self, local_host, local_port, remote_host, remote_port)
        AbstractEIEIOReceiver.__init__(self)
        AbstractEIEIOSender.__init__(self)
        AbstractListenable.__init__(self)
Exemplo n.º 3
0
 def __init__(self,
              chip_x=None,
              chip_y=None,
              local_host=None,
              local_port=None,
              remote_host=None,
              remote_port=None):
     """
     :param chip_x: The optional x-coordinate of the chip at the remote\
             end of the connection.  If not specified, it will not be\
             possible to send sdp messages that require a response with\
             this connection.
     :type chip_x: int
     :param chip_y: The optional y-coordinate of the chip at the remote\
             end of the connection.  If not specified, it will not be\
             possible to send sdp messages that require a response with\
             this connection.
     :type chip_y: int
     :param local_host: The optional ip address or host name of the local\
             interface to listen on
     :type local_host: str
     :param local_port: The optional local port to listen on
     :type local_port: int
     :param remote_host: The optional remote host name or ip address to\
             send messages to.  If not specified, sending will not be\
             possible using this connection
     :type remote_host: str
     :param remote_port: The optional remote port number to send messages\
             to.  If not specified, sending will not be possible using this\
             connection
     """
     UDPConnection.__init__(self, local_host, local_port, remote_host,
                            remote_port)
     AbstractSDPReceiver.__init__(self)
     AbstractSDPSender.__init__(self)
     AbstractListenable.__init__(self)
     self._chip_x = chip_x
     self._chip_y = chip_y