A | |
add_data [Xmlstream.xml_stream_reader] |
Add a chunk of data to the reader.
|
add_ele [Xmlstream.xml_stream_writer] |
Adds an element to the stream.
|
add_packet [Jabbersm.state_machine] | |
authenticate [Jabber_sync.session] |
Authenticates with the server using the specified credentials and resource.
|
C | |
close [Jabber_sync.session] |
Closes the session.
|
connect [Jabber_sync.session] | s#connect server port establishes an XML stream with the specified server on the specified port.
|
D | |
data_bytes_avail [Xmlstream.xml_stream_writer] |
Returns how many bytes are available to be transmitted
|
default_ns_URI [Xmlstream.xml_stream_reader] |
Returns the default namespace URI for the XML stream.
|
E | |
end_stream [Xmlstream.xml_stream_writer] |
generates the stream end.
|
G | |
get_body [Jabber.message] | |
get_children [Jabber.packet_base] | |
get_error [Jabber.packet_base] |
Returns the (code,description) from the
error child of the element.
|
get_first_query [Jabber.iq] |
Returns the first
query child element of the IQ.
|
get_first_query_xmlns [Jabber.iq] |
Returns the default XML namespace URI of the first
query child element of the IQ.
|
get_from [Jabber.packet_base] | |
get_id [Jabber.packet_base] | |
get_priority [Jabber.presence] | |
get_show [Jabber.presence] | |
get_state [Jabbersm.state_machine] | |
get_state [Xmlstream.xml_stream_reader] |
Returns the current state of the parser.
|
get_status [Jabber.presence] | |
get_stream_id [Jabber_sync.session] |
Retrieves the stream ID set by the server after a successful
connect , which may be needed to build credentials for authenticate .
|
get_subject [Jabber.message] | |
get_thread [Jabber.message] | |
get_to [Jabber.packet_base] | |
get_type [Jabber.message] | |
get_type [Jabber.presence] | |
get_type [Jabber.iq] | |
H | |
handshake [Xmlstream.xml_stream_writer] | handshake stream_ns_uri stream_ns_pfx default_ns_URI atts takes a stream (toplevel) namespace prefix and URI, default stream namespace URI, and list of attributes, and generates the stream start tag.
|
P | |
pull_ele [Xmlstream.xml_stream_reader] |
Pulls the next content element from the XML stream.
|
pull_handshake [Xmlstream.xml_stream_reader] |
Pulls the XML Stream handshake, that is, the document start tag.
|
pull_packet [Jabber_sync.session] |
Waits for the next packet from the server.
|
R | |
reject_reason [Auth.auth_machine] |
in the event of an authentication failure (state = Reject), retrieve the reason therefore.
|
S | |
set_children [Jabber.packet_base] | |
set_from [Jabber.packet_base] | |
set_id [Jabber.packet_base] | |
set_to [Jabber.packet_base] | |
set_type [Jabber.message] | |
set_type [Jabber.presence] | |
set_type [Jabber.iq] | |
start [Auth.auth_machine] |
Start the state machine (i.e., transmit auth packet)
|
stream_ns_URI [Xmlstream.xml_stream_reader] |
Returns the toplevel namespace URI of the XML stream.
|
stream_ns_decls [Xmlstream.xml_stream_reader] |
Returns the stream's toplevel namespace declarations.
|
stream_ns_pfx [Xmlstream.xml_stream_reader] |
Returns the prefix corresponding to the toplevel namespace URI.
|
T | |
to_ele [Jabber.packet_base] |
Emits a an element from this packet.
|
W | |
write_fully [Xmlstream.xml_stream_writer] |
the procedure argument is expected to accept
str ofs len .
|
write_packet [Jabber_sync.session] |
Writes a packet to the server.
|
write_some [Xmlstream.xml_stream_writer] |
The procedure argument is expected to accept
str ofs len and return how many bytes were successfully written.
|