SetPID sets p2p actor
(pid *evtActor.PID)
| 225 | |
| 226 | // SetPID sets p2p actor |
| 227 | func (this *P2PServer) SetPID(pid *evtActor.PID) { |
| 228 | this.pid = pid |
| 229 | this.msgRouter.SetPID(pid) |
| 230 | } |
| 231 | |
| 232 | // GetPID returns p2p actor |
| 233 | func (this *P2PServer) GetPID() *evtActor.PID { |