channelCmdMakerImpl

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelInboundCmdMaker

type ChannelInboundCmdMaker struct {
	// contains filtered or unexported fields
}

func NewChannelInboundCmdMaker

func NewChannelInboundCmdMaker(mLoginMessage channelCommands.ILoginMessage, mEventMaker schedule.IRoutineInboundEventMaker) (impl *ChannelInboundCmdMaker)

func (*ChannelInboundCmdMaker) MakeActiveCommand

func (impl *ChannelInboundCmdMaker) MakeActiveCommand(Ctx service.IChannelContext) schedule.ICommand

新连接

func (*ChannelInboundCmdMaker) MakeExceptionCommand

func (impl *ChannelInboundCmdMaker) MakeExceptionCommand(ctx service.IChannelContext, err error) schedule.ICommand

触发异常

func (*ChannelInboundCmdMaker) MakeInActiveCommand

func (impl *ChannelInboundCmdMaker) MakeInActiveCommand(Ctx service.IChannelContext) schedule.ICommand

连接中断

func (*ChannelInboundCmdMaker) MakeMessageReceivedCommand

func (impl *ChannelInboundCmdMaker) MakeMessageReceivedCommand(Ctx service.IChannelContext, Data interface{}) schedule.ICommand

收到消息包

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL