Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
bannmann #1
Member since Oct 2015 · 3 posts · Location: Dortmund, Germany
Group memberships: Members
Show profile · Link to this post
Subject: DiscoManager.*Stanza methods
DiscoManager does not offer methods that return the request Iq to use.

Other parts of my codebase use such methods, e.g. PubSubManager.CreateNodeStanza(), and pass the Iq to a central method which takes care of sending the request and awaiting the reply.

As I would like to keep my code consistent, I'd like to have *Stanza methods on DiscoManager as well. Could you please add them?

I'm using MatriX v4.0.30319.

Best regards,
Jens
Avatar
Alex #2
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hello Jens,

Quote by bannmann:
DiscoManager does not offer methods that return the request Iq to use.

Other parts of my codebase use such methods, e.g. PubSubManager.CreateNodeStanza(), and pass the Iq to a central method which takes care of sending the request and awaiting the reply.

As I would like to keep my code consistent, I'd like to have *Stanza methods on DiscoManager as well. Could you please add them?

They are private, we can make them public when this helps you.

Quote by bannmann:
I'm using MatriX v4.0.30319.

this looks like a .NET version, not a MatriX version number.
Which MatriX version are you using, and which platform?

Alex
Avatar
bannmann #3
Member since Oct 2015 · 3 posts · Location: Dortmund, Germany
Group memberships: Members
Show profile · Link to this post
Quote by Alex:
They are private, we can make them public when this helps you.
Yes, that would be great!

Quote by Alex:
Which MatriX version are you using, and which platform?
The MatriX version is 1.5.5.7; we're using both Windows and Mono.
Avatar
Alex #4
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by bannmann:
The MatriX version is 1.5.5.7; we're using both Windows and Mono.

you should update to MatriX 2.x.
You can find all MatriX Nuget packages of 2.x here:
https://www.nuget.org/profiles/agsoftware

The 1.x branch will not get any more updates.
The 2.x release and NuGet allows us to publish such an update very fast to you.

Alex
Avatar
bannmann #5
Member since Oct 2015 · 3 posts · Location: Dortmund, Germany
Group memberships: Members
Show profile · Link to this post
Quote by Alex:
you should update to MatriX 2.x.
The 1.x branch will not get any more updates.
Okay, I'll talk to my colleagues.

Skimming the changelog, I'm wondering why you bumped the major version. Are there any breaking changes?
Avatar
Alex #6
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by bannmann:
Skimming the changelog, I'm wondering why you bumped the major version. Are there any breaking changes?

You can read more about this here:
http://www.ag-software.net/2015/02/27/matrix-v2-pre-release/

There are only minor breaking changes because of the name changes to comply with naming conventions, mostly in Enums. Updating a code base to the new names should only take some minutes. API, events and everything is exactly the same.

There are huge changes inside the core which is the reason why the major version was increased, also to our build process, NuGet, internal tools etc...

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: MatriX RSS