Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BufferPool ¶
func NewBufferPool ¶
func NewBufferPool() *BufferPool
type MessageStream ¶
type MessageStream struct {
// OpenFlow Version
Version uint8
// Channel on which to publish connection errors
Error chan error
// Channel on which to publish inbound messages
Inbound chan Message
// Channel on which to receive outbound messages
Outbound chan Message
// Channel on which to receive a shutdown command
Shutdown chan bool
// contains filtered or unexported fields
}
func NewMessageStream ¶
func NewMessageStream(conn net.Conn, parser Parser) *MessageStream
Returns a pointer to a new MessageStream. Used to parse OpenFlow messages from conn.
func (*MessageStream) GetAddr ¶
func (m *MessageStream) GetAddr() net.Addr
Click to show internal directories.
Click to hide internal directories.