//
        private void initializeRequest()
        {
            communication = new Communications();

            authentication          = new authentication();
            authentication.user     = config["username"];
            authentication.password = config["password"];

            requestDirectory  = config["requestDirectory"] + "\\Requests\\";
            responseDirectory = config["responseDirectory"] + "\\Responses\\";

            cnpXmlSerializer = new cnpXmlSerializer();
            cnpTime          = new cnpTime();
            cnpFile          = new cnpFile();
        }
Exemple #2
0
        //
        private void initializeRequest()
        {
            communication = new Communications(config);

            authentication          = new authentication();
            authentication.user     = config["username"];
            authentication.password = config["password"];

            requestDirectory  = Path.Combine(config["requestDirectory"], "Requests") + Path.DirectorySeparatorChar;
            responseDirectory = Path.Combine(config["responseDirectory"], "Responses") + Path.DirectorySeparatorChar;

            cnpXmlSerializer = new cnpXmlSerializer();
            cnpTime          = new cnpTime();
            cnpFile          = new cnpFile();
        }
 public void setCnpXmlSerializer(cnpXmlSerializer cnpXmlSerializer)
 {
     this.cnpXmlSerializer = cnpXmlSerializer;
 }