order

package
Version: v0.0.0-...-6465c35 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthOrder = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOrder   = fmt.Errorf("proto: integer overflow")
)
View Source
var ProtocolType_name = map[int32]string{
	0:  "UNKNOWN",
	1:  "CONNECT",
	2:  "CONNECTACK",
	3:  "SUB",
	4:  "SUBACK",
	5:  "UNSUB",
	6:  "UNSUBACK",
	7:  "HOLDMIC",
	8:  "HOLDMICACK",
	9:  "RELEASEMIC",
	10: "RELEASEMICACK",
	11: "DISCONNECT",
	12: "DISCONNECTACK",
	13: "REGISTER",
	14: "REGISTERACK",
	15: "SYSTEM",
	16: "SYSTEMACK",
}
View Source
var ProtocolType_value = map[string]int32{
	"UNKNOWN":       0,
	"CONNECT":       1,
	"CONNECTACK":    2,
	"SUB":           3,
	"SUBACK":        4,
	"UNSUB":         5,
	"UNSUBACK":      6,
	"HOLDMIC":       7,
	"HOLDMICACK":    8,
	"RELEASEMIC":    9,
	"RELEASEMICACK": 10,
	"DISCONNECT":    11,
	"DISCONNECTACK": 12,
	"REGISTER":      13,
	"REGISTERACK":   14,
	"SYSTEM":        15,
	"SYSTEMACK":     16,
}

Functions

This section is empty.

Types

type Control

type Control struct {
	ProtocolType         ProtocolType `protobuf:"varint,1,opt,name=protocolType,proto3,enum=order.ProtocolType" json:"protocolType,omitempty"`
	OrgID                uint32       `protobuf:"varint,2,opt,name=orgID,proto3" json:"orgID,omitempty"`
	UserID               uint32       `protobuf:"varint,3,opt,name=userID,proto3" json:"userID,omitempty"`
	RootGroupID          uint32       `protobuf:"varint,4,opt,name=rootGroupID,proto3" json:"rootGroupID,omitempty"`
	GroupID              uint32       `protobuf:"varint,5,opt,name=groupID,proto3" json:"groupID,omitempty"`
	AckCode              uint32       `protobuf:"varint,6,opt,name=ackCode,proto3" json:"ackCode,omitempty"`
	TopicPriority        uint32       `protobuf:"varint,8,opt,name=topicPriority,proto3" json:"topicPriority,omitempty"`
	MicPriority          uint32       `protobuf:"varint,9,opt,name=micPriority,proto3" json:"micPriority,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Control) Descriptor

func (*Control) Descriptor() ([]byte, []int)

func (*Control) GetAckCode

func (m *Control) GetAckCode() uint32

func (*Control) GetGroupID

func (m *Control) GetGroupID() uint32

func (*Control) GetMicPriority

func (m *Control) GetMicPriority() uint32

func (*Control) GetOrgID

func (m *Control) GetOrgID() uint32

func (*Control) GetProtocolType

func (m *Control) GetProtocolType() ProtocolType

func (*Control) GetRootGroupID

func (m *Control) GetRootGroupID() uint32

func (*Control) GetTopicPriority

func (m *Control) GetTopicPriority() uint32

func (*Control) GetUserID

func (m *Control) GetUserID() uint32

func (*Control) Marshal

func (m *Control) Marshal() (dAtA []byte, err error)

func (*Control) MarshalTo

func (m *Control) MarshalTo(dAtA []byte) (int, error)

func (*Control) ProtoMessage

func (*Control) ProtoMessage()

func (*Control) Reset

func (m *Control) Reset()

func (*Control) Size

func (m *Control) Size() (n int)

func (*Control) String

func (m *Control) String() string

func (*Control) Unmarshal

func (m *Control) Unmarshal(dAtA []byte) error

func (*Control) XXX_DiscardUnknown

func (m *Control) XXX_DiscardUnknown()

func (*Control) XXX_Marshal

func (m *Control) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Control) XXX_Merge

func (m *Control) XXX_Merge(src proto.Message)

func (*Control) XXX_Size

func (m *Control) XXX_Size() int

func (*Control) XXX_Unmarshal

func (m *Control) XXX_Unmarshal(b []byte) error

type ProtocolType

type ProtocolType int32

协议类型

const (
	ProtocolType_UNKNOWN       ProtocolType = 0
	ProtocolType_CONNECT       ProtocolType = 1
	ProtocolType_CONNECTACK    ProtocolType = 2
	ProtocolType_SUB           ProtocolType = 3
	ProtocolType_SUBACK        ProtocolType = 4
	ProtocolType_UNSUB         ProtocolType = 5
	ProtocolType_UNSUBACK      ProtocolType = 6
	ProtocolType_HOLDMIC       ProtocolType = 7
	ProtocolType_HOLDMICACK    ProtocolType = 8
	ProtocolType_RELEASEMIC    ProtocolType = 9
	ProtocolType_RELEASEMICACK ProtocolType = 10
	ProtocolType_DISCONNECT    ProtocolType = 11
	ProtocolType_DISCONNECTACK ProtocolType = 12
	ProtocolType_REGISTER      ProtocolType = 13
	ProtocolType_REGISTERACK   ProtocolType = 14
	ProtocolType_SYSTEM        ProtocolType = 15
	ProtocolType_SYSTEMACK     ProtocolType = 16
)

func (ProtocolType) EnumDescriptor

func (ProtocolType) EnumDescriptor() ([]byte, []int)

func (ProtocolType) String

func (x ProtocolType) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL