Module exmpp_client_binding

The module exmpp_client_binding implements the initiating entity side of Resource Binding.

Authors: Jean-Sébastien Pédron (js.pedron@meetic-corp.com).

Description

The module exmpp_client_binding implements the initiating entity side of Resource Binding.

Function Index

announced_support/1Tell if the Resource Binding feature is supported.
bind/0Prepare a Resource Binding request.
bind/1Prepare a Resource Binding request for the given Resource.
bounded_jid/1Extract the JID given by the server.

Function Details

announced_support/1

announced_support(Xmlel::Features_Announcement) -> bool()

throws {resource_binding, announced_support, invalid_feature, Feature}

Tell if the Resource Binding feature is supported.

bind/0

bind() -> Bind

Prepare a Resource Binding request.

bind/1

bind(Resource) -> Bind

Prepare a Resource Binding request for the given Resource.

bounded_jid/1

bounded_jid(IQ::Bind) -> Jid

throws {resource_binding, bounded_jid, invalid_bind, Stanza} | {resource_binding, bounded_jid, no_jid, IQ} | {resource_binding, bounded_jid, bind_error, Condition}

Extract the JID given by the server.


Generated by EDoc, Jan 21 2011, 01:43:54.