public void REQL_ECHO()
    {
        if (nm.IsConnected() == false)
        {
            Connect();
        }

        CommonData.ECHO echo   = new CommonData.ECHO();
        jPacket         packet = new jPacket(NETCODE.CommonProtocol.REQ_ECHO);

        nm.Send(packet.MakePacket <CommonData.ECHO>(echo));
    }
    public void REQL_IDisValid(string sID)
    {
        if (nm.IsConnected() == false)
        {
            if (Connect() == false)
            {
                return;
            }
        }
        CommonData.REQ_IdIsValid Id = new CommonData.REQ_IdIsValid();
        Id.sId = sID;
        jPacket packet = new jPacket(NETCODE.CommonProtocol.REQ_IDISIDVALID);

        nm.Send(packet.MakePacket <CommonData.REQ_IdIsValid>(Id));
    }
    public void REQL_Login(string sId, string sPw)
    {
        if (nm.IsConnected() == false)
        {
            if (Connect() == false)
            {
                return;
            }
        }

        CommonData.REQ_LoginInfo login = new CommonData.REQ_LoginInfo();
        login.sId = sId; login.sPwd = sPw;
        jPacket packet = new jPacket(NETCODE.CommonProtocol.REQ_LOGIN);

        nm.Send(packet.MakePacket <CommonData.REQ_LoginInfo>(login));
    }
    public void REQL_Registration(string sID, string sPwd, string sMail, string sExtra, string sUDID)
    {
        if (nm.IsConnected() == false)
        {
            if (Connect() == false)
            {
                return;
            }
        }
        CommonData.REQ_Registration rg = new CommonData.REQ_Registration();
        rg.sId    = sID;
        rg.sPwd   = sPwd;
        rg.sMail  = sMail;
        rg.sExtra = sMail;
        rg.sUDID  = sUDID;
        jPacket packet = new jPacket(NETCODE.CommonProtocol.REQ_REGISTRATION);

        nm.Send(packet.MakePacket <CommonData.REQ_Registration>(rg));
    }
Exemple #5
0
    public void REQL_ECHO()
    {
        if (nm.IsConnected() == false) Connect();

        CommonData.ECHO echo = new CommonData.ECHO();
        jPacket packet = new jPacket(NETCODE.CommonProtocol.REQ_ECHO);
        nm.Send(packet.MakePacket<CommonData.ECHO>(echo));
    }
Exemple #6
0
 public void REQL_Registration(string sID, string sPwd, string sMail, string sExtra,string sUDID)
 {
     if (nm.IsConnected() == false) { if (Connect() == false) return; }
     CommonData.REQ_Registration rg = new CommonData.REQ_Registration();
     rg.sId = sID;
     rg.sPwd = sPwd;
     rg.sMail = sMail;
     rg.sExtra = sMail;
     rg.sUDID = sUDID;
     jPacket packet = new jPacket(NETCODE.CommonProtocol.REQ_REGISTRATION);
     nm.Send(packet.MakePacket<CommonData.REQ_Registration>(rg));
 }
Exemple #7
0
    public void REQL_Login(string sId, string sPw)
    {
        if (nm.IsConnected() == false) { if (Connect() == false) return; }

        CommonData.REQ_LoginInfo login = new CommonData.REQ_LoginInfo();
        login.sId = sId; login.sPwd = sPw;
        jPacket packet = new jPacket(NETCODE.CommonProtocol.REQ_LOGIN);
        nm.Send(packet.MakePacket<CommonData.REQ_LoginInfo>(login));
    }
Exemple #8
0
 public void REQL_IDisValid(string sID)
 {
     if (nm.IsConnected() == false) { if (Connect() == false) return; }
     CommonData.REQ_IdIsValid Id = new CommonData.REQ_IdIsValid();
     Id.sId = sID;
     jPacket packet = new jPacket(NETCODE.CommonProtocol.REQ_IDISIDVALID);
     nm.Send(packet.MakePacket<CommonData.REQ_IdIsValid>(Id));
 }