Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

XMLStream Class Reference

XMLStream implementation class. More...

Inheritance diagram for XMLStream:

Inheritance graph
[legend]
Collaboration diagram for XMLStream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Public Attributes


Detailed Description

XMLStream implementation class.

This class provide general interface to XMLStreams used by JabberZilla. This is just wrapper around jzIXMPPSocket XPCOM component.


Constructor & Destructor Documentation

void XMLStream jzIXMPPConnectionInfo  connectionInfo  ) 
 

Create new XMLStream object.

Parameters:
connectionInfo Object with informations about connection.


Member Function Documentation

void addEventListener XMLStreamEventListener  listener,
int  priority
 

Adds event listener object to list of listeners, which will be notified on event.

Parameters:
listener Event listener object to add
priority Notification priority. Listeners with higher priority value will be notified first. Default value is 0; (optional)
See also:
EventGenerator.addEventListener()

void connect  ) 
 

Open connection with host defined in connectionInfo.

This method throw exception when it is called on connected stream.

bool isConnected  ) 
 

Returns true if connection is already estabilished.

Returns:
true if connection is estabilished, false otherwise.

void removeEventListener XMLStreamEventListener  listener  ) 
 

Removes observer from list of observers.

Parameters:
listener Listener object which should be removed from this object registered listeners list.
See also:
EventGenerator.removeEventListener()

void send Stanza  stanza  ) 
 

Send data through stream.

Thrown exception when stream is closed.

Parameters:
stanza Stanza with data to send.


The documentation for this class was generated from the following file:
Generated on Tue Jan 4 01:03:52 2005 for JabberZilla by  doxygen 1.4.0