com.cysols.iodef.analysis.packet
Class AggregatedPacketEventFactory

java.lang.Object
  extended by com.cysols.iodef.analysis.packet.AggregatedPacketEventFactory
All Implemented Interfaces:
AggregatedEventFactory

public class AggregatedPacketEventFactory
extends Object
implements AggregatedEventFactory

The concrete implementation of the AggregatedEventFactory interface. This class can instantiate AggregatedPacketEvent instance. EventAggregator will create AggregatedPacketEvent instance by using this factory method.


Constructor Summary
AggregatedPacketEventFactory()
          A default constructor.
 
Method Summary
 AggregatedEvent createAggregatedEvent(String sourceAddress)
          Returns an AggregatedPacketEvent instance as AggregatedEvent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatedPacketEventFactory

public AggregatedPacketEventFactory()
A default constructor.

Method Detail

createAggregatedEvent

public AggregatedEvent createAggregatedEvent(String sourceAddress)
Returns an AggregatedPacketEvent instance as AggregatedEvent. The AggregatedPacketEvent is a concrete AggregatedEvent object.

Specified by:
createAggregatedEvent in interface AggregatedEventFactory
Parameters:
sourceAddress - source address of the aggregated event.
Returns:
a new concrete AggregatedEvent instance.