UnRegisterMsgHandler un-registers the msg handler with the msg type
(key string)
| 83 | // UnRegisterMsgHandler un-registers the msg handler with |
| 84 | // the msg type |
| 85 | func (this *MessageRouter) UnRegisterMsgHandler(key string) { |
| 86 | delete(this.msgHandlers, key) |
| 87 | } |
| 88 | |
| 89 | // SetPID sets p2p actor |
| 90 | func (this *MessageRouter) SetPID(pid *actor.PID) { |
no outgoing calls