Module remote_control :: Class SignalObject
[hide private]
[frames] | no frames]

Class SignalObject

source code


Local object definition for /org/gajim/dbus/RemoteObject

This docstring is not be visible, because the clients can access only the remote object.

Instance Methods [hide private]
 
__init__(self, bus_name) source code
 
Roster(self, account_and_data) source code
 
AccountPresence(self, status_and_account) source code
 
ContactPresence(self, account_and_array) source code
 
ContactAbsence(self, account_and_array) source code
 
ContactStatus(self, account_and_array) source code
 
NewMessage(self, account_and_array) source code
 
Subscribe(self, account_and_array) source code
 
Subscribed(self, account_and_array) source code
 
Unsubscribed(self, account_and_jid) source code
 
NewAccount(self, account_and_array) source code
 
VcardInfo(self, account_and_vcard) source code
 
LastStatusTime(self, account_and_array) source code
 
OsInfo(self, account_and_array) source code
 
EntityTime(self, account_and_array) source code
 
GCPresence(self, account_and_array) source code
 
GCMessage(self, account_and_array) source code
 
RosterInfo(self, account_and_array) source code
 
NewGmail(self, account_and_array) source code
 
raise_signal(self, signal, arg)
Raise a signal, with a single argument of unspecified type Instead of obj.raise_signal("Foo", bar), use obj.Foo(bar)
source code
 
get_status(self, account)
Return status (show to be exact) which is the global one unless account is given
source code
 
get_status_message(self, account)
Return status which is the global one unless account is given
source code
 
_get_account_and_contact(self, account, jid)
Get the account (if not given) and contact instance from jid
source code
 
_get_account_for_groupchat(self, account, room_jid)
Get the account which is connected to groupchat (if not given) or check if the given account is connected to the groupchat
source code
 
send_file(self, file_path, jid, account)
Send file, located at 'file_path' to 'jid', using account (optional) 'account'
source code
 
_send_message(self, jid, message, keyID, account, type_='chat', subject=None)
Can be called from send_chat_message (default when send_message) or send_single_message
source code
 
send_chat_message(self, jid, message, keyID, account)
Send chat 'message' to 'jid', using account (optional) 'account'.
source code
 
send_single_message(self, jid, subject, message, keyID, account)
Send single 'message' to 'jid', using account (optional) 'account'.
source code
 
send_groupchat_message(self, room_jid, message, account)
Send 'message' to groupchat 'room_jid', using account (optional) 'account'
source code
 
open_chat(self, jid, account, message)
Shows the tabbed window for new message to 'jid', using account (optional) 'account'
source code
 
change_status(status, message, account)
Account is optional - if not specified status is changed for all accounts
source code
 
set_priority(prio, account)
Account is optional - if not specified priority is changed for all accounts.
source code
 
show_next_pending_event(self)
Show the window(s) with next pending event in tabbed/group chats
source code
 
contact_info(self, jid)
Get vcard info for a contact.
source code
 
list_accounts(self)
List register accounts
source code
 
account_info(self, account)
Show info on account: resource, jid, nick, prio, message
source code
 
list_contacts(self, account)
List all contacts in the roster.
source code
 
toggle_roster_appearance(self)
Show/hide the roster window
source code
 
toggle_ipython(self)
Show/hide the ipython window
source code
 
prefs_list(self) source code
 
prefs_store(self) source code
 
prefs_del(self, key) source code
 
prefs_put(self, key) source code
 
add_contact(self, jid, account) source code
 
remove_contact(self, jid, account) source code
 
_is_first(self) source code
 
_get_real_jid(self, jid, account=None)
Get the real jid from the given one: removes xmpp: or get jid from nick if account is specified, search only in this account
source code
 
_contacts_as_dbus_structure(self, contacts)
Get info from list of Contact objects and create dbus dict
source code
 
get_unread_msgs_number(self) source code
 
start_chat(self, account) source code
 
send_xml(self, xml, account) source code
 
change_avatar(self, picture, account) source code
 
join_room(self, room_jid, nick, password, account) source code
Method Details [hide private]

__init__(self, bus_name)
(Constructor)

source code 

Roster(self, account_and_data)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

AccountPresence(self, status_and_account)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

ContactPresence(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

ContactAbsence(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

ContactStatus(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

NewMessage(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

Subscribe(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

Subscribed(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

Unsubscribed(self, account_and_jid)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

NewAccount(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

VcardInfo(self, account_and_vcard)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

LastStatusTime(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

OsInfo(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

EntityTime(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

GCPresence(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

GCMessage(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

RosterInfo(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

NewGmail(self, account_and_array)

source code 
Decorators:
  • @dbus.service.signal(INTERFACE, signature= 'av')

raise_signal(self, signal, arg)

source code 
Raise a signal, with a single argument of unspecified type Instead of obj.raise_signal("Foo", bar), use obj.Foo(bar)

get_status(self, account)

source code 
Return status (show to be exact) which is the global one unless account is given
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 's', out_signature= 's')

get_status_message(self, account)

source code 
Return status which is the global one unless account is given
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 's', out_signature= 's')

_get_account_and_contact(self, account, jid)

source code 
Get the account (if not given) and contact instance from jid

_get_account_for_groupchat(self, account, room_jid)

source code 
Get the account which is connected to groupchat (if not given) or check if the given account is connected to the groupchat

send_file(self, file_path, jid, account)

source code 
Send file, located at 'file_path' to 'jid', using account (optional) 'account'
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 'sss', out_signature= 'b')

_send_message(self, jid, message, keyID, account, type_='chat', subject=None)

source code 
Can be called from send_chat_message (default when send_message) or send_single_message

send_chat_message(self, jid, message, keyID, account)

source code 
Send chat 'message' to 'jid', using account (optional) 'account'. If keyID is specified, encrypt the message with the pgp key
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 'ssss', out_signature= 'b')

send_single_message(self, jid, subject, message, keyID, account)

source code 
Send single 'message' to 'jid', using account (optional) 'account'. If keyID is specified, encrypt the message with the pgp key
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 'sssss', out_signature= 'b')

send_groupchat_message(self, room_jid, message, account)

source code 
Send 'message' to groupchat 'room_jid', using account (optional) 'account'
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 'sss', out_signature= 'b')

open_chat(self, jid, account, message)

source code 
Shows the tabbed window for new message to 'jid', using account (optional) 'account'
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 'sss', out_signature= 'b')

change_status(status, message, account)

source code 
Account is optional - if not specified status is changed for all accounts
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 'sss', out_signature= 'b')

set_priority(prio, account)

source code 
Account is optional - if not specified priority is changed for all accounts. That are synced with global status
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 'ss', out_signature= '')

show_next_pending_event(self)

source code 
Show the window(s) with next pending event in tabbed/group chats
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= '', out_signature= '')

contact_info(self, jid)

source code 
Get vcard info for a contact. Return cached value of the vcard
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 's', out_signature= 'a{sv}')

list_accounts(self)

source code 
List register accounts
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= '', out_signature= 'as')

account_info(self, account)

source code 
Show info on account: resource, jid, nick, prio, message
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 's', out_signature= 'a{ss}')

list_contacts(self, account)

source code 
List all contacts in the roster. If the first argument is specified, then return the contacts for the specified account
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 's', out_signature= 'aa{sv}')

toggle_roster_appearance(self)

source code 
Show/hide the roster window
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= '', out_signature= '')

toggle_ipython(self)

source code 
Show/hide the ipython window
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= '', out_signature= '')

prefs_list(self)

source code 
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= '', out_signature= 'a{ss}')

prefs_store(self)

source code 
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= '', out_signature= 'b')

prefs_del(self, key)

source code 
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 's', out_signature= 'b')

prefs_put(self, key)

source code 
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 's', out_signature= 'b')

add_contact(self, jid, account)

source code 
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 'ss', out_signature= 'b')

remove_contact(self, jid, account)

source code 
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 'ss', out_signature= 'b')

_is_first(self)

source code 

_get_real_jid(self, jid, account=None)

source code 
Get the real jid from the given one: removes xmpp: or get jid from nick if account is specified, search only in this account

_contacts_as_dbus_structure(self, contacts)

source code 
Get info from list of Contact objects and create dbus dict

get_unread_msgs_number(self)

source code 
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= '', out_signature= 's')

start_chat(self, account)

source code 
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 's', out_signature= 'b')

send_xml(self, xml, account)

source code 
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 'ss', out_signature= '')

change_avatar(self, picture, account)

source code 
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 'ss', out_signature= '')

join_room(self, room_jid, nick, password, account)

source code 
Decorators:
  • @dbus.service.method(INTERFACE, in_signature= 'ssss', out_signature= '')