예제 #1
0
파일: Logging.cs 프로젝트: PavelPZ/REW
 public static string makeMessage(bool isRequest, SeznamProxyId id, string url, string xml, long reqNum) {
   return (isRequest ? "Request: " : "Response: ") + id.ToString() + nameFromXml(xml, isRequest) + " " + url + " (" + reqNum + ")";
 }
예제 #2
0
파일: Logging.cs 프로젝트: PavelPZ/REW
 public SeznamRpcEvent(bool isRequest, SeznamProxyId id, string url, Stream str, long reqNum) : this(isRequest, id, url, streamToString(str), reqNum) { }
예제 #3
0
파일: Logging.cs 프로젝트: PavelPZ/REW
 public SeznamRpcEvent(SeznamProxyId id, long reqNum, string exception) : base(makeError(exception), null, (int)id, (int)reqNum) { }
예제 #4
0
파일: Logging.cs 프로젝트: PavelPZ/REW
 public SeznamRpcEvent(bool isRequest, SeznamProxyId id, string url, string xml, long reqNum)
   : base(makeMessage(isRequest, id, url, xml, reqNum), null, (int)id, (int)reqNum) {
   this.xml = xml;
 }