tryToxic
 All Classes Functions
tryToxic.ToxTry Class Reference
Inheritance diagram for tryToxic.ToxTry:

Public Member Functions

def __init__
 
def getToxGroupUserByFriendId
 
def getToxUserByFriendId
 
def saveLocalData
 
def updateToxUserObjects
 
def statusResolver
 
def loop
 
def on_friend_request
 
def on_friend_message
 
def on_file_send_request
 
def on_file_data
 
def on_file_control
 
def on_name_change
 
def on_user_status
 
def on_connection_status
 
def on_group_namelist_change
 
def on_status_message
 
def on_group_invite
 
def on_group_message
 

Public Attributes

 passPhrase
 
 toxGroupUser
 
 thread
 
 name
 
 pubKey
 
 statusMessage
 
 online
 
 userColor
 
 toxUserList
 

Detailed Description

The tox-handler-class

Definition at line 10 of file tryToxic.py.

Constructor & Destructor Documentation

def tryToxic.ToxTry.__init__ (   self,
  passPhrase,
  thread 
)
ui --- ui is from mainController
passPhrase --- or key, password
thread --- to connect to it's signals

Definition at line 14 of file tryToxic.py.

Member Function Documentation

def tryToxic.ToxTry.getToxGroupUserByFriendId (   self,
  groupFriendId 
)
Get a toxGroup by friendId
return toxGroupUser

Definition at line 39 of file tryToxic.py.

def tryToxic.ToxTry.getToxUserByFriendId (   self,
  friendId 
)
Get a toxUser by friendId
return toxUser

Definition at line 48 of file tryToxic.py.

def tryToxic.ToxTry.loop (   self)
mainloop of tox!

Definition at line 85 of file tryToxic.py.

def tryToxic.ToxTry.on_file_control (   self,
  friend_number,
  receive_send,
  file_number,
  control_type,
  data 
)
Callback for everykind of file-changes. Big method!
receive_send : 0 = rec, 1 = send

Definition at line 122 of file tryToxic.py.

def tryToxic.ToxTry.statusResolver (   self,
  inti 
)
Status-resolving of online-statuses.
Give int,
return str

Definition at line 71 of file tryToxic.py.

def tryToxic.ToxTry.updateToxUserObjects (   self)
update toxUser-data-objects.

Definition at line 62 of file tryToxic.py.


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