SetState set sync state to peer
(state uint32)
| 191 | |
| 192 | //SetState set sync state to peer |
| 193 | func (this *Peer) SetState(state uint32) { |
| 194 | atomic.StoreUint32(&(this.linkState), state) |
| 195 | } |
| 196 | |
| 197 | //GetPort return peer`s sync port |
| 198 | func (this *Peer) GetPort() uint16 { |
no outgoing calls