- tc.RMRClient = xapp.NewRMRClientWithParams("tcp:"+strconv.FormatUint(uint64(srcId.Port), 10), 65534, 0, stat)
+ tc.RMRClient = xapp.NewRMRClientWithParams(&xapp.RMRClientParams{
+ ProtPort: "tcp:" + strconv.FormatUint(uint64(srcId.Port), 10),
+ MaxSize: 65534,
+ ThreadType: 0,
+ StatDesc: stat,
+ LowLatency: false,
+ FastAck: false,
+ })
+