Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelDescriptor ¶
type ChannelDescriptor struct { ID byte Priority int SendQueueCapacity int RecvBufferCapacity int RecvMessageCapacity int }
func (ChannelDescriptor) FillDefaults ¶
func (chDesc ChannelDescriptor) FillDefaults() (filled ChannelDescriptor)
type MConnection ¶
type MConnection struct {
// contains filtered or unexported fields
}
func NewMConnection ¶
func NewMConnection( conn net.Conn, chDescs []*ChannelDescriptor, onReceive receiveCbFunc, onError errorCbFunc, ) *MConnection
func (*MConnection) OnStart ¶
func (c *MConnection) OnStart() error
func (*MConnection) OnStop ¶
func (c *MConnection) OnStop()
Click to show internal directories.
Click to hide internal directories.