clipspy-1.0.0/clips/classes.py
def find_message_handler(
            self, name: str, handler_type: str = 'primary') -> 'MessageHandler':
        """Returns the MessageHandler given its name and type."""
        ident = lib.FindDefmessageHandler(
            self._ptr(), name.encode(), handler_type.encode())
        if ident == 0:
            raise CLIPSError(self._env)

        return MessageHandler(self._env, self.name, ident)
Returns the MessageHandler given its name and type.
Returns the MessageHandler given its name and type.
Returns the MessageHandler given its name and type .
def find_message_handler(
            self, name: str, handler_type: str = 'primary') -> 'MessageHandler':
        ident = lib.FindDefmessageHandler(
            self._ptr(), name.encode(), handler_type.encode())
        if ident == 0:
            raise CLIPSError(self._env)
        return MessageHandler(self._env, self.name, ident)
def find_message_handler ( self , name : str , handler_type : str = 'primary' ) -> 'MessageHandler' : ident = lib . FindDefmessageHandler ( self . _ptr ( ) , name . encode ( ) , handler_type . encode ( ) ) if ident == 0 : raise CLIPSError ( self . _env ) return MessageHandler ( self . _env , self . name , ident )
Returns the MessageHandler given its name and type.
Returns the MessageHandler given its name and type .
"""Returns the MessageHandler given its name and type."""
self
name
str
handler_type
str