Commit e9fcc7c8 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Comments updated. JM-6


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1372 b35dd754-fafc-0310-a699-88a17e54d16e
parent d259ad9a
......@@ -142,12 +142,12 @@ public class IQRouter extends BasicModule {
private void handle(IQ packet) {
JID recipientJID = packet.getTo();
try {
// Check for registered components and/or services
// Check for registered components, services or remote servers
if (recipientJID != null) {
try {
RoutableChannelHandler serviceRoute = routingTable.getRoute(recipientJID);
if (!(serviceRoute instanceof ClientSession)) {
// A component/service was found that can handle the Packet
// A component/service/remote server was found that can handle the Packet
serviceRoute.process(packet);
return;
}
......
......@@ -16,7 +16,7 @@ import org.xmpp.packet.Packet;
/**
* A packet interceptor encapsulates an action that is invoked on a packet immediately
* before or after it was received by a SocketReadThread and also when the packet is about to
* before or after it was received by a SocketReader and also when the packet is about to
* be sent in SocketConnection. These types of actions fall into two broad categories:<ul>
* <li> Interceptors that reject the packet by throwing an exception (only when the packet
* has not been processed yet).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment