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

Method GetWorkerID

ziface/iconnection.go:34–34  ·  view source on GitHub ↗

Get the message handler (获取消息处理器)

()

Source from the content-addressed store, hash-verified

32 GetConnIdStr() string // Get the current connection ID for string (获取当前字符串连接ID)
33 GetMsgHandler() IMsgHandle // Get the message handler (获取消息处理器)
34 GetWorkerID() uint32 // Get Worker ID(获取workerid)
35 RemoteAddr() net.Addr // Get the remote address information of the connection (获取连接远程地址信息)
36 LocalAddr() net.Addr // Get the local address information of the connection (获取连接本地地址信息)
37 LocalAddrString() string // Get the local address information of the connection as a string

Callers 2

freeWorkerFunction · 0.65
SendMsgToTaskQueueMethod · 0.65

Implementers 3

KcpConnectionznet/kcp_connection.go
WsConnectionznet/ws_connection.go
Connectionznet/connection.go

Calls

no outgoing calls

Tested by

no test coverage detected