Module exmpp_component

The module exmpp_component implements xep-0114 component.

Behaviours: gen_fsm.

Authors: Ery Lee (ery.lee@gmail.com).

Description

The module exmpp_component implements xep-0114 component.

This module is intended to be used directly by client developers.

Function Index

auth/3
code_change/4
connect/3
handle_event/3
handle_info/3
handle_sync_event/4
handshake/1
init/1
send_packet/2
session_established/2
session_established/3
set_controlling_process/2
setup/3
start/0
start_debug/0
start_link/0
stop/1
stream_closed/2
stream_closed/3
stream_error/2
stream_error/3
stream_opened/2
stream_opened/3
terminate/3
wait_for_handshake_result/2
wait_for_stream/2
wait_for_stream/3

Function Details

auth/3

auth(Component, Domain, Password) -> any()

code_change/4

code_change(OldVsn, StateName, State, Extra) -> any()

connect/3

connect(Component, Server, Port) -> any()

handle_event/3

handle_event(Event, StateName, State) -> any()

handle_info/3

handle_info(Info, StateName, State) -> any()

handle_sync_event/4

handle_sync_event(Event, From, StateName, State) -> any()

handshake/1

handshake(Component) -> any()

init/1

init(X1) -> any()

send_packet/2

send_packet(Component, Packet) -> any()

session_established/2

session_established(Xmlstreamelement, State) -> any()

session_established/3

session_established(X1, From, State) -> any()

set_controlling_process/2

set_controlling_process(Component, Client) -> any()

setup/3

setup(X1, From, State) -> any()

start/0

start() -> any()

start_debug/0

start_debug() -> any()

start_link/0

start_link() -> any()

stop/1

stop(Component) -> any()

stream_closed/2

stream_closed(Signal, State) -> any()

stream_closed/3

stream_closed(Signal, From, State) -> any()

stream_error/2

stream_error(Xmlstreamend, State) -> any()

stream_error/3

stream_error(Signal, From, State) -> any()

stream_opened/2

stream_opened(Xmlstreamelement, State) -> any()

stream_opened/3

stream_opened(X1, From, State) -> any()

terminate/3

terminate(Reason, StateName, State) -> any()

wait_for_handshake_result/2

wait_for_handshake_result(Xmlstreamelement, State) -> any()

wait_for_stream/2

wait_for_stream(Start, State) -> any()

wait_for_stream/3

wait_for_stream(Event, From, State) -> any()


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