//the owners of this packet's sid
//first ack all "set" requests.
if(jingleIQ.getType() == IQ.Type.SET)
{
IQ ack = IQ.createResultIQ(jingleIQ);
protocolProvider.getConnection().sendPacket(ack);
}
try
{
processJingleIQ(jingleIQ);
}
catch(Throwable t)
{
logger.info("Error while handling incoming Jingle packet: ", t);
/*
* The Javadoc on ThreadDeath says: If ThreadDeath is caught by
* a method, it is important that it be rethrown so that the
* thread actually dies.
*/
if (t instanceof ThreadDeath)
throw (ThreadDeath) t;
}
}
else if(packet instanceof SessionIQ)
{
SessionIQ sessionIQ = (SessionIQ)packet;
//first ack all "set" requests.
if(sessionIQ.getType() == IQ.Type.SET)
{
IQ ack = IQ.createResultIQ(sessionIQ);
protocolProvider.getConnection().sendPacket(ack);
}
try
{