Interface w.c.i.IOSPlugin(IWaderPlugin):

Part of wader.common.interfaces View In Hierarchy

Known implementations: wader.common.plugin.OSPlugin

No interface docstring
Attribute distrib_id Name of the OS/Distro
Attribute distrib_version Version of the OS/Distro
Attribute abstraction Dict with the 'abstraction_name, value' pairs
Attribute customization Dict with all the abstractions updates
Method check_dialer_assumptions Returns a message with whatever error happened configuring the dialer
Method get_connection_args Returns the args necessary to start the dialer
Method get_disconnection_args Returns the args necessary to stop the dialer
Method get_doc_dir Returns the path where documentation is stored at
Method get_iface_stats Returns a list with bits recv, sent for iface
Method get_timezone Returns the timezone of the OS
Method get_tzinfo Returns a tzinfo instance relative to the timezone
Method is_valid Returns True if we are on the given OS/Distro

Inherited from IWaderPlugin:

Attribute name Plugin's name
Attribute version Plugin's version
Attribute author Plugin's author
Method initialize Initializes the plugin
Method shutdown Closes the plugin
distrib_id =
Name of the OS/Distro
distrib_version =
Version of the OS/Distro
abstraction =
Dict with the 'abstraction_name, value' pairs
customization =
Dict with all the abstractions updates
def check_dialer_assumptions():

Returns a message with whatever error happened configuring the dialer

It returns a tuple of message, detail if something went wrong and returns None if every dialer assumption is met
def get_connection_args(conf_path):

Returns the args necessary to start the dialer

Some distributions ship with a setuid pppd, others don't. Thus what we return here will mainly depend on each distribution.
def get_disconnection_args():
Returns the args necessary to stop the dialer
def get_doc_dir():
Returns the path where documentation is stored at
def get_iface_stats(iface):
Returns a list with bits recv, sent for iface
def get_timezone():
Returns the timezone of the OS
Returns (type: str )
def get_tzinfo():
Returns a tzinfo instance relative to the timezone
Returns (type: datetime.tzinfo )
def is_valid(init_var):
Returns True if we are on the given OS/Distro
API Documentation for wader-core, generated by pydoctor at 2008-08-27 16:53:37.