Connection
Object Hierarchy:
Description:
Namespace: Lm
Package: loudmouth-1.0
Content:
Constants:
Creation methods:
Methods:
-
public bool authenticate (string username, string password, string resource, ResultFunction function, DestroyNotify? notify) throws Error
-
public bool authenticate_and_block (string username, string password, string resource) throws Error
-
public void cancel_open ()
-
public bool close () throws Error
-
public unowned string get_full_jid ()
-
public unowned string get_jid ()
-
public uint get_keep_alive_rate ()
-
public string get_local_host ()
-
public uint get_port ()
-
public weak Proxy get_proxy ()
-
public unowned string get_server ()
-
public weak SSL get_ssl ()
-
public ConnectionState get_state ()
-
public bool is_authenticated ()
-
public bool is_open ()
-
public bool open (ResultFunction function, DestroyNotify? notify) throws Error
-
public bool open_and_block () throws Error
-
public void register_message_handler (MessageHandler handler, MessageType type, HandlerPriority priority)
-
public bool send (Message message) throws Error
-
public bool send_raw (string str) throws Error
-
public bool send_with_reply (Message message, MessageHandler handler) throws Error
-
public Message send_with_reply_and_block (Message message) throws Error
-
public void set_disconnect_function (DisconnectFunction function, DestroyNotify? notify)
-
public void set_jid (string jid)
-
public void set_keep_alive_rate (uint rate)
-
public void set_port (uint port)
-
public void set_proxy (Proxy proxy)
-
public void set_server (string server)
-
public void set_ssl (SSL ssl)
-
public void unregister_message_handler (MessageHandler handler, MessageType type)