Class GetPacketFromPosition

java.lang.Object
ca.uqac.lif.cep.functions.Function
ca.uqac.lif.cep.functions.BinaryFunction<org.jnetpcap.packet.JFlow, Integer, org.jnetpcap.packet.JPacket>
netp.functions.GetPacketFromPosition
All Implemented Interfaces:
ca.uqac.lif.cep.Duplicable, ca.uqac.lif.cep.functions.DuplicableFunction

public class GetPacketFromPosition extends ca.uqac.lif.cep.functions.BinaryFunction<org.jnetpcap.packet.JFlow, Integer, org.jnetpcap.packet.JPacket>
FlowIntegerFunction to get a network packet from a flow packet and his position
  • Field Summary

    Fields inherited from class ca.uqac.lif.cep.functions.Function

    s_maxInputArity
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    duplicate(boolean with_state)
     
    org.jnetpcap.packet.JPacket
    getValue(org.jnetpcap.packet.JFlow flow, Integer position)
     

    Methods inherited from class ca.uqac.lif.cep.functions.BinaryFunction

    evaluate, getInputArity, getInputTypeLeft, getInputTypeRight, getInputTypesFor, getOutputArity, getOutputType, getOutputTypeFor, getStartValue, reset

    Methods inherited from class ca.uqac.lif.cep.functions.Function

    duplicate, evaluate, evaluate, evaluateLazy, evaluatePartial, printState, readState

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GetPacketFromPosition

      public GetPacketFromPosition()
  • Method Details

    • getValue

      public org.jnetpcap.packet.JPacket getValue(org.jnetpcap.packet.JFlow flow, Integer position)
      Specified by:
      getValue in class ca.uqac.lif.cep.functions.BinaryFunction<org.jnetpcap.packet.JFlow, Integer, org.jnetpcap.packet.JPacket>
    • duplicate

      public GetPacketFromPosition duplicate(boolean with_state)
      Specified by:
      duplicate in interface ca.uqac.lif.cep.Duplicable
      Overrides:
      duplicate in class ca.uqac.lif.cep.functions.BinaryFunction<org.jnetpcap.packet.JFlow, Integer, org.jnetpcap.packet.JPacket>