(self, port=None, channel=channel, **kwargs)
Start node system.

        :param port:    An optional keyword argument which if defined,
                        start server on this port.
                        **Default:** ``None`` (don't start the server)
        :type port:     int

        :param server_ip:   An optional keyword argument which define
                            ip where the socket has listen to.
                            **Default:** ``0.0.0.0`` (all ip is allowed)
        :type server_ip:     str

        :param channel: An optional keyword argument which if defined,
                        set channel used for node event. **Default:** ``node``
        :type channel:  str

        :param receive_event_firewall:  An optional keyword argument which if
                                        defined, set function or method to call
                                        to check if event is allowed for sending.
                                        **Default:** ``None`` (no firewall)
        :type receive_event_firewall:   function
        :type receive_event_firewall:   method

        :param send_event_firewall:  An optional keyword argument which if
                                    defined, set function or method to call to
                                    check if event is allowed for executing
                                    **Default:** ``None`` (no firewall)
        :type send_event_firewall:   function
        :type send_event_firewall:   method
Start node system.
Start node system .
def __init__(self, port=None, channel=channel, **kwargs):
        """Start node system.

        :param port:    An optional keyword argument which if defined,
                        start server on this port.
                        **Default:** ``None`` (don't start the server)
        :type port:     int

        :param server_ip:   An optional keyword argument which define
                            ip where the socket has listen to.
                            **Default:** ``0.0.0.0`` (all ip is allowed)
        :type server_ip:     str

        :param channel: An optional keyword argument which if defined,
                        set channel used for node event. **Default:** ``node``
        :type channel:  str

        :param receive_event_firewall:  An optional keyword argument which if
                                        defined, set function or method to call
                                        to check if event is allowed for sending.
                                        **Default:** ``None`` (no firewall)
        :type receive_event_firewall:   function
        :type receive_event_firewall:   method

        :param send_event_firewall:  An optional keyword argument which if
                                    defined, set function or method to call to
                                    check if event is allowed for executing
                                    **Default:** ``None`` (no firewall)
        :type send_event_firewall:   function
        :type send_event_firewall:   method
        """
        super(Node, self).__init__(channel=channel, **kwargs)

        if port is not None:
            self.server = Server(
                port, channel=channel, **kwargs).register(self)
        else:
            self.server = None
def __init__ ( self , port = None , channel = channel , * * kwargs ) : super ( Node , self ) . __init__ ( channel = channel , * * kwargs ) if port is not None : self . server = Server ( port , channel = channel , * * kwargs ) . register ( self ) else : self . server = None