This module provides the user with methods to connect to a remote server, send a stream of XML to the server, and receive/parse an XML stream from the server. It is primarily based work for the Etherx XML router developed by the Jabber Development Team. For more information about this project visit http://xmpp.org/protocols/streams/.
XML::Stream gives the user the ability to define a central callback that will be used to handle the tags received from the server. These tags are passed in the format defined at instantiation time. the closing tag of an object is seen, the tree is finished and passed to the call back function. What the user does with it from there is up to them.
For a detailed description of how this module works, and about the data structure that it returns, please view the source of Stream.pm and look at the detailed description at the end of the file.
NOTE: The parser that XML::Stream::Parser provides, as are most Perl parsers, is synchronous. If you are in the middle of parsing a packet and call a user defined callback, the Parser is blocked until your callback finishes. This means you cannot be operating on a packet, send out another packet and wait for a response to that packet. It will never get to you. Threading might solve this, but as we all know threading in Perl is not quite up to par yet. This issue will be revisted in the future.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.24-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
1.24-bp155.2.10 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
1.24-bp154.1.23 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.24-bp153.1.15 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.24-bp152.3.16 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
1.24-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
1.24-bp151.2.12 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
1.24-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|