MCPcopy
hub / github.com/aceld/zinx / GetConnection

Method GetConnection

ziface/irequest.go:17–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15// (实际上是把客户端请求的连接信息 和 请求的数据 包装到了 Request里)
16type IRequest interface {
17 GetConnection() IConnection // Get the connection information of the request(获取请求连接信息)
18
19 GetData() []byte // Get the data of the request message(获取请求消息的数据)
20 GetMsgID() uint32 // Get the message ID of the request(获取请求的消息ID)

Callers 15

HandleMethod · 0.65
HandleMethod · 0.65
HandleMethod · 0.65
HandleMethod · 0.65
HeatBeatDefaultHandleFunction · 0.65
PreHandleMethod · 0.65
HandleMethod · 0.65
PostHandleMethod · 0.65
HandleMethod · 0.65
HandleMethod · 0.65
SendMsgToTaskQueueMethod · 0.65
HandleMethod · 0.65

Implementers 2

BaseRequestziface/irequest.go
Requestznet/request.go

Calls

no outgoing calls

Tested by 6

HandleMethod · 0.52
PreHandleMethod · 0.52
HandleMethod · 0.52
PostHandleMethod · 0.52
HandleMethod · 0.52
HandleMethod · 0.52