func (self *RemotingClient) fillOpaque(p *packet.Packet) (int32, chan interface{}) { tid := p.Opaque //只有在默认值没有赋值的时候才去赋值 if tid < 0 { id := self.rc.RequestHolder.CurrentOpaque() p.Opaque = id tid = id } return tid, make(chan interface{}, 1) }