in fact, I'm not sure that disco services is the best way to do what
I want.
I want to create a network toolkit based on the jabber protocol. The
goal is to prototype communication application such as chat, video
conference ... etc.
I need that each client annouce their feature such as IP adresses,
port, feature (video, audio, texte ...).
Do you think Disco service is the best way to do this .
Maybe, protocol described in "JEP-0163: Personal Eventing Protocol"
is a best solution, but gloox doesn't support it ?
Emmanuel
Le 20 févr. 06 à 21:11, Jakob Schroeter a écrit :
On Monday February 20 2006 18:27, Emmanuel Nars wrote:
hello,
I don't understand how to use disco()->addFeature("jabber:iq:time");
To publish your client's support for this protocol this is all you
have to do.
and to retrieve this information because when i use "getDiscoItems"
or "getDiscoInfo",
Do you want to retrieve the disco items your app supports from
within your
app? Unfortunately, there is no way to fetch the items from the
Disco object
at this point. However, I've just added a const StringList& features
() which
will be in the next pre-release.
the stanza in the callbacks : handleDiscoInfoResult( Stanza *stanza,
int context ) and handleDiscoItemsResult( Stanza *stanza, int
context ) is empty
What do you mean, the stanza is empty? Is it NUL? What is the raw
XML returned
by the server?
Can you explain to me how to post and retrieve features?
You could have a look at src/flexoff.{h,cpp} and src/tests/
flexoff_test.cpp.
cheers,
Jakob
--
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to
minimalist@xxxxxxxxxx
Emmanuel Nars
nars@xxxxxx
--
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx