(Id uint64, MsgId uint32, data []byte)
| 88 | } |
| 89 | |
| 90 | func (n *notify) NotifyBuffToConnByID(Id uint64, MsgId uint32, data []byte) error { |
| 91 | Conn, err := n.GetNotifyByID(Id) |
| 92 | if err != nil { |
| 93 | return err |
| 94 | } |
| 95 | err = Conn.SendBuffMsg(MsgId, data) |
| 96 | if err != nil { |
| 97 | zlog.Ins().ErrorF("Notify to %d err:%s \n", Id, err) |
| 98 | return err |
| 99 | } |
| 100 | return nil |
| 101 | } |
| 102 | |
| 103 | func (n *notify) NotifyBuffAll(MsgId uint32, data []byte) error { |
| 104 |
nothing calls this directly
no test coverage detected