tigase.server.filters
Class PacketCounter

java.lang.Object
  extended by tigase.server.filters.PacketCounter
All Implemented Interfaces:
PacketFilterIfc

public class PacketCounter
extends java.lang.Object
implements PacketFilterIfc

Created: Jun 8, 2009 1:47:31 PM

Version:
$Rev: 1797 $
Author:
Artur Hefczyc

Constructor Summary
PacketCounter()
           
 
Method Summary
 boolean filter(Packet packet)
           
 void getStatistics(StatisticsList list)
           
 void init(java.lang.String name, QueueType qType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PacketCounter

public PacketCounter()
Method Detail

filter

public boolean filter(Packet packet)
Specified by:
filter in interface PacketFilterIfc

init

public void init(java.lang.String name,
                 QueueType qType)
Specified by:
init in interface PacketFilterIfc

getStatistics

public void getStatistics(StatisticsList list)
Specified by:
getStatistics in interface PacketFilterIfc


Copyright © 2009 Tigase. All Rights Reserved.