//从clientQueue中读取*net.Conn数据 func (this *ClientHandler) ClientQueuePop() *net.Conn { conn := <-this.clientQueue statistics.GetClientQueueCount().Dec() return conn }
//向clientQueue中写入*net.Conn数据 func (this *ClientHandler) ClientQueuePush(conn *net.Conn) { this.clientQueue <- conn statistics.GetClientQueueCount().Add() }