1234567891011121314151617181920212223242526272829 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Message = Cn.Sagacloud.Proto.Message;
- namespace NettyClient.proto
- {
- public class MessageUtil
- {
-
-
-
-
-
-
-
- public static Message generateMessageStr(string cmd, string taskId, string content)
- {
- Message msg = new Message();
- msg.Cmd = cmd;
- msg.TaskId = taskId;
- msg.Content = content;
- return msg;
- }
- }
- }
|