Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11593

Re: Receive AdHocCommandData not totally right, how to handle this?

$
0
0

hi

I have added a new class AdHocCommandDataEx extends IQ

and DataFormEx implements PacketExtension,

the DataFormEx  has query tag.

 

and also, I want to replace the iq provider with the old one like this

ProviderManager.getInstance().addIQProvider(AdHocCommandDataEx.ELEMENT, AdHocCommandDataEx.NAMESPACE, AdHocCommandDataEx.class);

 

but now, exception occured, the new provider may not substitude the old one,

do anyone know how to solve this?

 

By the way , I didnot know how to change the Smack source code, and make a temp edition.

Could anyone give a hand?  Thanks very much!


Viewing all articles
Browse latest Browse all 11593

Trending Articles