github.com/annchain/OG@v0.0.9/node/interface.go (about)

     1  package node
     2  
     3  type PhysicalCommunicator interface {
     4  	Start()
     5  	Stop()
     6  	GetIncomingChannel() chan *WireMessage
     7  	ClosePeer(id string)
     8  	GetNeighbour(id string) (neighbour *Neighbour, err error)
     9  }