Server.create_parser¶
-
Server.
create_parser
()[source]¶ Configures the message
parser
. Upon reception of a message,create_parser()
will call the appropriate function. Other arguments given to the parser will be available in thenamespace
attribute.As an example, the subparser for the message ‘quit’ is implemented. The user should override the method
quit()
, as well as implement other methods for the particular daemon tasks.