Example #1
0
        public static void addSendInfo(object msginfo, string[] sendto)
        {
            SendMsgInfo sendinfo = new SendMsgInfo();

            sendinfo.Sendto     = sendto;
            sendinfo.LantalkMsg = msginfo;
            _sendmsgINFO.Add(sendinfo);
        }
Example #2
0
        public static void addSendInfo(string msginfo, string[] sendto, string sendtobips)
        {
            SendMsgInfo sendinfo = new SendMsgInfo();

            sendinfo.Sendtobip = sendtobips;
            sendinfo.Sendto    = sendto;
            sendinfo.LanmsgRTF = msginfo;
            _sendmsgINFO.Add(sendinfo);
        }
Example #3
0
        public static void addSendInfo(object msginfo, string sendto, int port)
        {
            SendMsgInfo sendinfo = new SendMsgInfo();

            sendinfo.Sendto     = new string[] { sendto };
            sendinfo.SendPort   = port;
            sendinfo.LantalkMsg = msginfo;
            _sendmsgINFO.Add(sendinfo);
        }
Example #4
0
 private static bool getAllSendedInfo(SendMsgInfo sended)
 {
     return(sended.Sendto == null || sended.Sendto.Length == 0);
 }