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

Method SendMsg

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

Send data to the message queue to be sent to the remote TCP client later Send Message data directly to the remote TCP client (without buffering) 直接将Message数据发送数据给远程的TCP客户端(无缓冲)

(msgID uint32, data []byte)

Source from the content-addressed store, hash-verified

43 // Send Message data directly to the remote TCP client (without buffering)
44 // 直接将Message数据发送数据给远程的TCP客户端(无缓冲)
45 SendMsg(msgID uint32, data []byte) error
46
47 // Send Message data to the message queue to be sent to the remote TCP client later (with buffering)
48 // 直接将Message数据发送给远程的TCP客户端(有缓冲)

Callers 15

SyncSurroundingMethod · 0.65
TalkMethod · 0.65
UpdatePosMethod · 0.65
OnExchangeAoiGrIDMethod · 0.65
LostConnectionMethod · 0.65
SendMsgMethod · 0.65
NotifyToConnByIDMethod · 0.65
NotifyAllMethod · 0.65
SendHeartBeatMsgMethod · 0.65
PreHandleMethod · 0.65
HandleMethod · 0.65
PostHandleMethod · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by 6

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