Module exmpp_server_session

The module exmpp_server_session implements the receiving entity side of the Session Establishment.

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

Description

The module exmpp_server_session implements the receiving entity side of the Session Establishment.

Function Index

error/2Prepare an error reply to IQ.
establish/1Prepare a result IQ to inform the initiating entity that the session is created.
feature/0Make a feature annoucement child.
want_establishment/1Tell if the initiating entity wants to establish a session.

Function Details

error/2

error(IQ, Condition) -> Error_IQ

Prepare an error reply to IQ.

establish/1

establish(IQ) -> Result_IQ

Prepare a result IQ to inform the initiating entity that the session is created.

feature/0

feature() -> Feature

Make a feature annoucement child.

The result should then be passed to exmpp_stream:features/1.

want_establishment/1

want_establishment(IQ) -> bool()

Tell if the initiating entity wants to establish a session.


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