o.s.i.botService(service.MultiService) : class documentation

Part of otfbot.services.ircClient View Source View In Hierarchy

No class docstring
Method __init__ Undocumented
Method startService start the service
Method connect connect to the network
Method disconnect manually disconnect from a network
Method register_ctl_command Undocumented

Inherited from MultiService:

Method privilegedStartService Do preparation work for starting the service.
Method stopService Stop the service.
Method getServiceNamed Get the child service with a given name.
Method __iter__ Get an iterator over all child services.
Method addService Add a child service.
Method removeService Remove a child service.

Inherited from Service (via MultiService):

Method __getstate__ Undocumented
Method setName Set the name of the service.
Method setServiceParent Set the parent of the service.
Method disownServiceParent Use this API to remove an IService from an IServiceCollection.
def __init__(self, root, parent): (source)
def startService(self): (source)
start the service

registers control-commands, connects to the configured networks and then calls MultiService.startService

def connect(self, network): (source)
connect to the network
Instance Variablesnetworkthe name of the network to connect to as used in the config

gets the servername and port from config, and then connects to the network.

def disconnect(self, network): (source)
manually disconnect from a network
Parametersnetworkthe networkname (type: str )
def register_ctl_command(self, f, namespace=None, name=None): (source)
API Documentation for OtfBot, generated by pydoctor at 2011-05-03 16:14:29.