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

Method SetProperty

ziface/iconnection.go:51–51  ·  view source on GitHub ↗
(key string, value interface{})

Source from the content-addressed store, hash-verified

49 SendBuffMsg(msgID uint32, data []byte, opts ...MsgSendOption) error
50
51 SetProperty(key string, value interface{}) // Set connection property
52 GetProperty(key string) (interface{}, error) // Get connection property
53 RemoveProperty(key string) // Remove connection property
54 IsAlive() bool // Check if the current connection is alive(判断当前连接是否存活)

Callers 15

OnConnectionAddFunction · 0.65
DoClientConnectedBeginFunction · 0.65
DoClientConnectedBeginFunction · 0.65
DoClientConnectedBeginFunction · 0.65
DoClientConnectedBeginFunction · 0.65
DoConnectionBeginFunction · 0.65
DoClientConnectedBeginFunction · 0.65
DoClientConnectedBeginFunction · 0.65
DoConnectionBeginFunction · 0.65
DoClientConnectedBeginFunction · 0.65
DoConnectionBeginFunction · 0.65
DoClientConnectedBeginFunction · 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