github.com/onosproject/onos-api/go@v0.10.32/onos/control/control.go (about)

     1  // SPDX-FileCopyrightText: 2022-present Intel Corporation
     2  //
     3  // SPDX-License-Identifier: Apache-2.0
     4  
     5  // Package control defines an API for the flow control reconciliation library
     6  package control
     7  
     8  // FlowControl defines an abstract interface for interacting with the flow control reconciliation library
     9  type FlowControl interface {
    10  	// Write(deviceId, updates) error
    11  	// Read(deviceId, entitites) (chan *entities, error)
    12  	// PacketOut(deviceId, packet) error
    13  	// Listen(deviceId) (chan *packetIn, error)
    14  }