Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
Change example to use raw handler
Browse files Browse the repository at this point in the history
  • Loading branch information
ardikars committed Apr 19, 2019
1 parent 54a0386 commit dddfc7f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import com.ardikars.jxnet.PcapPktHdr;
import com.ardikars.jxnet.spring.boot.autoconfigure.JxpacketHandler;
import com.ardikars.jxnet.spring.boot.autoconfigure.annotation.EnablePacket;
import com.ardikars.jxnet.spring.boot.autoconfigure.constant.PacketHandlerType;
import com.ardikars.jxpacket.common.Packet;
import java.util.Iterator;
import java.util.concurrent.ExecutionException;
Expand All @@ -35,7 +36,7 @@
* @author <a href="mailto:contact@ardikars.com">Ardika Rommy Sanjaya</a>
* @since 1.4.9
*/
@EnablePacket
@EnablePacket(packetHandlerType = PacketHandlerType.JXPACKET_RAW)
@Configuration
public class DefaultJxpacketHandler implements JxpacketHandler<String> {

Expand Down

0 comments on commit dddfc7f

Please sign in to comment.