SocketStream() public method

public SocketStream ( string xmlRequestFilePath, string xmlResponseDestinationDirectory, string>.Dictionary config ) : string
xmlRequestFilePath string
xmlResponseDestinationDirectory string
config string>.Dictionary
return string
示例#1
0
        public litleResponse sendToLitleWithStream()
        {
            string requestFilePath = this.Serialize();
            string batchName       = Path.GetFileName(requestFilePath);

            string responseFilePath = communication.SocketStream(requestFilePath, responseDirectory, config);

            litleResponse litleResponse = (litleResponse)litleXmlSerializer.DeserializeObjectFromFile(responseFilePath);

            return(litleResponse);
        }