Commits

Ginés Martínez Sánchez committed f789434 Draft

improving doc. version 0.5.5

Comments (0)

Files changed (2)

ginsfsm/__init__.py

 """
 A python library to do development based in Finite State Machines.
 """
-__version__ = '0.5.4'
+__version__ = '0.5.5'
 __title__ = 'ginsfsm'
 __author__ = 'Ginés Martínez'
 __license__ = 'MIT License'

ginsfsm/router.py

             self.send_event(self._timer, 'EV_SET_TIMER', seconds=-1)
 
     def mt_execute_command(self, command):
-        """ TODO
-        """
         ret = 'EXECUTED ' + command + ' Ok'
         return ret
 
             )
 
     def search_route_by_role(self, role):
-        """ Search route by role in the registry
-        """
         registry = self.registry
 
         # search in static routes
         return None
 
     def search_route_by_gaplic(self, gaplic_name):
-        """ Search route by gaplic name in the registry
-        """
         registry = self.registry
 
         # search in static routes
         write(x)
 
     def find_local_router(self):
-        """ Find the localhost router.
-            This fn is only called when iam not server
-        """
         if self.local_router:
             return  # already created.
 
         )
 
     def start_router_server(self):
-        """ Publish the gaplic system.
-        """
         self.server_sock = self.create_gobj(
             self.gaplic.name + '-router',
             GServerSock,
             event_name,
             subscriber_gobj,
             kw):
-        """ Send event to external role
-        """
         registry = self.registry
         route = self.search_route_by_role(role)
         if not route:
             event_name,
             subscriber_gobj,
             kw):
-        """ Send event to external gaplic
-        """
         registry = self.registry
         route = self.search_route_by_gaplic(gaplic_name)
         if not route:
             event_name,
             subscriber_gobj,
             kw):
-        """ Send event to route.
-        """
         registry = self.registry
         route = registry.get_route_by_ref(route_ref)
         if not route: