prasadtalasila/BITS-Darshini

View on GitHub
src/main/java/in/ac/bits/protocolanalyzer/analyzer/GenericAnalyzer.java

Summary

Maintainability
A
0 mins
Test Coverage
package in.ac.bits.protocolanalyzer.analyzer;

import com.google.common.eventbus.EventBus;

/**
 * 
 * @author crygnus
 *
 */

public interface GenericAnalyzer {

    /**
     * Analyzes the incoming packet
     * 
     * @return String
     */
    public void analyzePacket(PacketWrapper packetWrapper);

    /**
     * Sets the eventbus to which this generic analyzer will post events
     * 
     * @param eventBus
     */
    public void setEventBus(EventBus eventBus);

}