// Incoming data from the client. //public static string data = null; public SynchronousSocketListener(TcpIpPortParam tcpParam, IAbort abort, IPrinterChange ipc) { LogWriter.WriteLog(new string[] { string.Format("SynchronousSocketListener") }, true); m_TcpIpPortParam = tcpParam; m_IAbort = abort; m_IPrinterChange = ipc; cachePrinter = new CachePrinter(ipc); }
public PipePort(IPrinterChange ipc) { // // TODO: Add constructor logic here // m_hPipeHandle = 0; m_IPrinterChange = ipc; cachePrinter = new CachePrinter(ipc); LogWriter.WriteLog(new string[] { "[Test]PipePort init" }, true); }