I can't extend org.jivesoftware.smack.PacketReader

Hi to all,

I’m trying to extend PacketReader; however, compiler doesn’t allow me to do so. I have to parse custom tags in raw received packets, this is why I’m trying to extend this class. I’ve checked the source code, it’s not a final class.

I can extend almost all the classes from org.jivesoftware.smack.* like ConnectionConfiguration or AccountManager but not PacketReader. Can you see what am I missing?

Thanks in advance.

I’m not sure you can extend PacketReader… I have another post about parsing custom tags in raw received packets. Hope it helps.

It’s package protected.