enigma2  2.6
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Components.Ipkg.PkgComponent Class Reference
Inheritance diagram for Components.Ipkg.PkgComponent:
Components.Ipkg.IpkgComponent

Public Member Functions

def __init__ (self, dpkg='opkg', dpkg_local='dpkg')
 
def setCurrentCommand (self, command=None)
 
def runCmd (self, cmd)
 
def startCmd (self, cmd, args=None)
 
def preInstCmdFinished (self, retval)
 
def instCmdFinished (self, retval)
 
def cmdFinished (self, retval)
 
def cmdData (self, data)
 
def parseLine (self, data)
 
def callCallbacks (self, event, param=None)
 
def addCallback (self, callback)
 
def stop (self)
 
def isRunning (self)
 

Public Attributes

 dpkg
 
 dpkg_local
 
 cmd
 
 cmd_appClosed_conn
 
 cmd_dataAvail_conn
 
 cache
 
 callbackList
 
 update_done
 
 currentCommand
 
 args
 
 preInstCmd
 
 preInstCmd_appClosed_conn
 
 preInstCmd_dataAvail_conn
 
 instcmd
 
 instcmd_appClosed_conn
 
 instcmd_dataAvail_conn
 
 postcmd
 
 postcmd_appClosed_conn
 
 postcmd_dataAvail_conn
 

Static Public Attributes

int EVENT_INSTALL = 0
 
int EVENT_DOWNLOAD = 1
 
int EVENT_CONFIGURING = 3
 
int EVENT_REMOVE = 4
 
int EVENT_UPGRADE = 5
 
int EVENT_LISTITEM = 9
 
int EVENT_DONE = 10
 
int EVENT_ERROR = 11
 
int CMD_INSTALL = 0
 
int CMD_LIST = 1
 
int CMD_REMOVE = 2
 
int CMD_UPDATE = 3
 
int CMD_UPGRADE = 4
 

Constructor & Destructor Documentation

◆ __init__()

def Components.Ipkg.PkgComponent.__init__ (   self,
  dpkg = 'opkg',
  dpkg_local = 'dpkg' 
)

Member Function Documentation

◆ addCallback()

def Components.Ipkg.PkgComponent.addCallback (   self,
  callback 
)

◆ callCallbacks()

def Components.Ipkg.PkgComponent.callCallbacks (   self,
  event,
  param = None 
)

◆ cmdData()

def Components.Ipkg.PkgComponent.cmdData (   self,
  data 
)

◆ cmdFinished()

def Components.Ipkg.PkgComponent.cmdFinished (   self,
  retval 
)

◆ instCmdFinished()

def Components.Ipkg.PkgComponent.instCmdFinished (   self,
  retval 
)

◆ isRunning()

def Components.Ipkg.PkgComponent.isRunning (   self)

◆ parseLine()

def Components.Ipkg.PkgComponent.parseLine (   self,
  data 
)

◆ preInstCmdFinished()

def Components.Ipkg.PkgComponent.preInstCmdFinished (   self,
  retval 
)

◆ runCmd()

def Components.Ipkg.PkgComponent.runCmd (   self,
  cmd 
)

◆ setCurrentCommand()

def Components.Ipkg.PkgComponent.setCurrentCommand (   self,
  command = None 
)

◆ startCmd()

def Components.Ipkg.PkgComponent.startCmd (   self,
  cmd,
  args = None 
)

◆ stop()

def Components.Ipkg.PkgComponent.stop (   self)

Member Data Documentation

◆ args

Components.Ipkg.PkgComponent.args

◆ cache

Components.Ipkg.PkgComponent.cache

◆ callbackList

Components.Ipkg.PkgComponent.callbackList

◆ cmd

Components.Ipkg.PkgComponent.cmd

◆ cmd_appClosed_conn

Components.Ipkg.PkgComponent.cmd_appClosed_conn

◆ cmd_dataAvail_conn

Components.Ipkg.PkgComponent.cmd_dataAvail_conn

◆ CMD_INSTALL

int Components.Ipkg.PkgComponent.CMD_INSTALL = 0
static

◆ CMD_LIST

int Components.Ipkg.PkgComponent.CMD_LIST = 1
static

◆ CMD_REMOVE

int Components.Ipkg.PkgComponent.CMD_REMOVE = 2
static

◆ CMD_UPDATE

int Components.Ipkg.PkgComponent.CMD_UPDATE = 3
static

◆ CMD_UPGRADE

int Components.Ipkg.PkgComponent.CMD_UPGRADE = 4
static

◆ currentCommand

Components.Ipkg.PkgComponent.currentCommand

◆ dpkg

Components.Ipkg.PkgComponent.dpkg

◆ dpkg_local

Components.Ipkg.PkgComponent.dpkg_local

◆ EVENT_CONFIGURING

int Components.Ipkg.PkgComponent.EVENT_CONFIGURING = 3
static

◆ EVENT_DONE

int Components.Ipkg.PkgComponent.EVENT_DONE = 10
static

◆ EVENT_DOWNLOAD

int Components.Ipkg.PkgComponent.EVENT_DOWNLOAD = 1
static

◆ EVENT_ERROR

int Components.Ipkg.PkgComponent.EVENT_ERROR = 11
static

◆ EVENT_INSTALL

int Components.Ipkg.PkgComponent.EVENT_INSTALL = 0
static

◆ EVENT_LISTITEM

int Components.Ipkg.PkgComponent.EVENT_LISTITEM = 9
static

◆ EVENT_REMOVE

int Components.Ipkg.PkgComponent.EVENT_REMOVE = 4
static

◆ EVENT_UPGRADE

int Components.Ipkg.PkgComponent.EVENT_UPGRADE = 5
static

◆ instcmd

Components.Ipkg.PkgComponent.instcmd

◆ instcmd_appClosed_conn

Components.Ipkg.PkgComponent.instcmd_appClosed_conn

◆ instcmd_dataAvail_conn

Components.Ipkg.PkgComponent.instcmd_dataAvail_conn

◆ postcmd

Components.Ipkg.PkgComponent.postcmd

◆ postcmd_appClosed_conn

Components.Ipkg.PkgComponent.postcmd_appClosed_conn

◆ postcmd_dataAvail_conn

Components.Ipkg.PkgComponent.postcmd_dataAvail_conn

◆ preInstCmd

Components.Ipkg.PkgComponent.preInstCmd

◆ preInstCmd_appClosed_conn

Components.Ipkg.PkgComponent.preInstCmd_appClosed_conn

◆ preInstCmd_dataAvail_conn

Components.Ipkg.PkgComponent.preInstCmd_dataAvail_conn

◆ update_done

Components.Ipkg.PkgComponent.update_done

The documentation for this class was generated from the following file: