Class GetFlowSize

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

public class GetFlowSize extends ca.uqac.lif.cep.functions.UnaryFunction<org.jnetpcap.packet.JFlow, Integer>
FlowFunction to get a network flow size (number of packets in the flow)
  • 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)
     
    getValue(org.jnetpcap.packet.JFlow flow)
     

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

    evaluate, getInputArity, getInputTypesFor, getOutputArity, getOutputTypeFor, 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

    • GetFlowSize

      public GetFlowSize()
  • Method Details

    • getValue

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

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