Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController() *Controller
func (*Controller) Accept ¶
func (self *Controller) Accept(port int, h NewSwitchHandler) error
type ErrorHandler ¶
type NewSwitchHandler ¶
type NewSwitchHandler func(sw *Switch)
type PacketInHandler ¶
type PortStatusHandler ¶
type PortStatusHandler func(msg *of.PortStatus)
type Switch ¶
type Switch struct { HandlePacketIn PacketInHandler HandleSwitchFeatures SwitchFeaturesHandler HandleError ErrorHandler HandlePortStatus PortStatusHandler // contains filtered or unexported fields }
type SwitchFeaturesHandler ¶
type SwitchFeaturesHandler func(msg *of.SwitchFeatures)
Click to show internal directories.
Click to hide internal directories.