def send(self, message_id, stm_id, args=[], kwargs={}):
if stm_id not in Driver._stms_by_id:<EOL><INDENT>self._logger.warn('<STR_LIT>'<EOL>'<STR_LIT>'.format(stm_id, message_id))<EOL><DEDENT>else:<EOL><INDENT>stm = Driver._stms_by_id[stm_id]<EOL>self._add_event(message_id, args, kwargs, stm)<EOL><DEDENT>
Send a message to a state machine handled by this driver.

If you have a reference to the state machine, you can also send it
directly to it by using `stmpy.Machine.send`.

`stm_id` must be the id of a state machine earlier added to the driver.