Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
dtjoa #1
Member since Jul 2012 · 39 posts
Group memberships: Members
Show profile · Link to this post
Subject: Request to add methods with callback to Add() & update()
I like to tie the response back from Roster Add() or Update() to a callback. It would be nice with RosterManager class provides the capability to call Add()/Update() method and can specify a callback method that will be called server sens the response.
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I have added new overloads for this to all functions of the RosterManager.
A build for testing is attached. Can you please let me know if it works fine for you?

Alex
This post was edited on 2012-08-26, 22:27 by Alex.
Edit reason: removed attachment
Avatar
dtjoa #3
Member since Jul 2012 · 39 posts
Group memberships: Members
Show profile · Link to this post
Alex,

The methods I tried work. Those methods are:
Add(jid, string, string[], EventHandler<>, object);
Update(jid, string, string[], EventHandler<>, object);
Delete(jid, EventHandler<>);

/Djie
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
thanks for your feedback. I have removed the attachment and uploaded  a new build to the latest binaries.

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: