Beispiel #1
0
 public void SendCooperationVibration(string fromJid, string toJid, string projectid)
 {
     if (ValidationUtil.Jid(fromJid) && ValidationUtil.Jid(toJid))
     {
         CooperationCommonRequest request = new CooperationCommonRequest();
         request.from_jid  = fromJid;
         request.to_jid    = toJid;
         request.projectID = projectid;
         request.type      = 1;
         this.connection.Send(PacketType.COOPERATION_COMMON, request);
     }
 }
 public void SendCooperationVibration(string fromJid, string toJid, string projectid)
 {
     if (ValidationUtil.Jid(fromJid) && ValidationUtil.Jid(toJid))
     {
         CooperationCommonRequest request = new CooperationCommonRequest();
         request.from_jid = fromJid;
         request.to_jid = toJid;
         request.projectID = projectid;
         request.type = 1;
         this.connection.Send(PacketType.COOPERATION_COMMON, request);
     }
 }