action

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SessionAttributeBigBuf = &PacketSlicesHandler{}
)

Functions

func ConstructTxCmdPacket

func ConstructTxCmdPacket(tnp *transact.TransNodeParam, cmd transact.TransCmd) proto.Message

func ContructTxResultPacket

func ContructTxResultPacket(parent, me *transact.TransNodeParam, tr *transact.TransResult) proto.Message

func ContructTxStartPacket

func ContructTxStartPacket(parent, me *transact.TransNodeParam, ud interface{}) proto.Message

Types

type PacketSlicesHandler

type PacketSlicesHandler struct {
}

func (*PacketSlicesHandler) Process

func (this *PacketSlicesHandler) Process(s *netlib.Session, packetid int, data interface{}) error

type PacketSlicesPacketFactory

type PacketSlicesPacketFactory struct {
}

func (*PacketSlicesPacketFactory) CreatePacket

func (this *PacketSlicesPacketFactory) CreatePacket() interface{}

type TxCtrlCmdHandler

type TxCtrlCmdHandler struct {
}

func (*TxCtrlCmdHandler) Process

func (this *TxCtrlCmdHandler) Process(session *netlib.Session, packetid int, data interface{}) error

type TxCtrlCmdPacketFactory

type TxCtrlCmdPacketFactory struct {
}

func (*TxCtrlCmdPacketFactory) CreatePacket

func (this *TxCtrlCmdPacketFactory) CreatePacket() interface{}

type TxResultHandler

type TxResultHandler struct {
}

func (*TxResultHandler) Process

func (this *TxResultHandler) Process(session *netlib.Session, packetid int, data interface{}) error

type TxResultPacketFactory

type TxResultPacketFactory struct {
}

func (*TxResultPacketFactory) CreatePacket

func (this *TxResultPacketFactory) CreatePacket() interface{}

type TxStartHandler

type TxStartHandler struct {
}

func (*TxStartHandler) Process

func (this *TxStartHandler) Process(session *netlib.Session, packetid int, data interface{}) error

type TxStartPacketFactory

type TxStartPacketFactory struct {
}

func (*TxStartPacketFactory) CreatePacket

func (this *TxStartPacketFactory) CreatePacket() interface{}

Jump to

Keyboard shortcuts

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