Interface OpenFlowSession


  • public interface OpenFlowSession
    Represents to OpenFlow session.
    • Method Detail

      • isActive

        boolean isActive()
        Returns session state.
        Returns:
        true if active.
      • closeSession

        void closeSession()
        Requests to close this OpenFlow session.
      • sendMsg

        boolean sendMsg​(java.lang.Iterable<org.projectfloodlight.openflow.protocol.OFMessage> msgs)
        Sends messages over this session.
        Parameters:
        msgs - to send
        Returns:
        true is messages were sent
      • sendMsg

        default boolean sendMsg​(org.projectfloodlight.openflow.protocol.OFMessage msg)
        Sends message over this session.
        Parameters:
        msg - to send
        Returns:
        true is messages were sent
      • sessionInfo

        java.lang.CharSequence sessionInfo()
        Returns debug information about this session.
        Returns:
        debug information
      • addClassifier

        void addClassifier​(OpenFlowClassifier classifier)
        Add classifier to runtime store of classifiers.
        Parameters:
        classifier - the OpenFlow classifier to add
      • removeClassifier

        void removeClassifier​(OpenFlowClassifier classifier)
        Remove classifier from runtime store of classifiers.
        Parameters:
        classifier - the OpenFlow classifier to remove