Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
SchAmane #1
Member since May 2005 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Component Example
On jabber.org site i found that this library can be used to write Server Components.
Do this work with jabberd-2 ? Can anybody provide a little example how it should be writen with this lib ?
Thanks.
Avatar
Alex #2
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hi,

there is no component sample yet.
Just create a socket to your server and inherit your classes from Element or XmppPacket and regsíster them in the ElementFactory.
Writing a component sample and extend the lib for better component support is on our TODO list.

Alex
Avatar
Alex #3
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
i added more stuff for components. If you want a pre-release please contact me by mail.
There are not much on the docs about components. The most protocols are server specific.
also see: JEP-0114.
I would also be helpful if somebody could give me access to a jabberd2 server for testing.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS