예제 #1
0
func clientPacketDispatcher(rclient *client.RemotingClient, resp *packet.Packet) {
	rclient.Attach(resp.Header.Opaque, resp.Data)
	// log.Printf("clientPacketDispatcher|%s\n", string(resp.Data))
}
예제 #2
0
func clientPacketDispatcher(rclient *client.RemotingClient, resp *packet.Packet) {
	clientf.ReadFlow.Incr(1)
	clientf.DispatcherFlow.Incr(1)
	rclient.Attach(resp.Opaque, resp.Data)
}