MCPcopy Create free account
hub / github.com/DNAProject/DNA / SetPID

Method SetPID

p2pserver/p2pserver.go:227–230  ·  view source on GitHub ↗

SetPID sets p2p actor

(pid *evtActor.PID)

Source from the content-addressed store, hash-verified

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

Callers 1

initP2PNodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected