Quantcast
Channel: Ignite Realtime : All Content - Openfire Dev
Viewing all articles
Browse latest Browse all 966

Implement a new custom Message.Type

$
0
0

Hello!

 

I was wondering if it's possible to implement a new Message.Type to be used with Smack/Openfire. I've searched for some examples but didn't find any.

 

I'm using Smack libs in an Android project, I was thinking of the following steps for doing that:

 

  1. Modify the Message [1] class from smack-core lib and add the custom Message.Type;
  2. Compile the whole new Smack API and include it in the Android project;
  3. Modify the Openfire and add the new Message.Type there too;
  4. Compile a new version of Openfire.

 

I'm having problems with step 3, how exactly to include the modifications into Openfire?

 

Thanks!

 

[1] https://github.com/igniterealtime/Smack/blob/master/smack-core/src/main/java/org /jivesoftware/smack/packet/Message.java


Viewing all articles
Browse latest Browse all 966

Trending Articles