Skip navigation
1816 Views 2 Replies Latest reply: Jun 18, 2011 3:00 AM by Guus der Kinderen RSS
Antony Bronze 65 posts since
May 29, 2011
Currently Being Moderated

Jun 14, 2011 4:14 PM

Why are Presence Type/Show not in RFC order

Out of interest, I wonder why the Presence.Type and Presence.Show enums in Tinder are not in the same defined order as the RFC6121 http://xmpp.org/rfcs/rfc6121.html#presence-syntax-type  I wonder, because I an integrating with an external app that has defined a C enum with available = 0, error = 1, 2 = probe etc, which seemed a logical way to do it.

 

Just means I have to write a mapping - yes, I know it's not a big issue, just that it's odd to try to understand why the Java enum is written the way it is.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points