Commit 3119f627 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Improved javadoc.

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@3010 b35dd754-fafc-0310-a699-88a17e54d16e
parent 79b663c2
/** /**
* $RCSfile$ * $RCSfile: PacketInterceptor.java,v $
* $Revision$ * $Revision$
* $Date$ * $Date$
* *
...@@ -44,10 +44,11 @@ public interface PacketInterceptor { ...@@ -44,10 +44,11 @@ public interface PacketInterceptor {
* *
* @param packet the packet to take action on. * @param packet the packet to take action on.
* @param session the session that received or is sending the packet. * @param session the session that received or is sending the packet.
* @param read flag that indicates if the packet was read or sent. * @param incoming flag that indicates if the packet was read by the server or sent from
* the server.
* @param processed flag that indicates if the action (read/send) was performed. (PRE vs. POST). * @param processed flag that indicates if the action (read/send) was performed. (PRE vs. POST).
* @throws PacketRejectedException if the packet should be prevented from being processed. * @throws PacketRejectedException if the packet should be prevented from being processed.
*/ */
void interceptPacket(Packet packet, Session session, boolean read, boolean processed) void interceptPacket(Packet packet, Session session, boolean incoming, boolean processed)
throws PacketRejectedException; throws PacketRejectedException;
} }
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