CASA/c_micasad/communication/WinCommunication.cs

40 lines
811 B
C#
Raw Normal View History

using System;
using sscs.common;
using sscs.constants;
2006-01-18 00:07:05 +01:00
using AppModule.InterProcessComm;
using AppModule.NamedPipes;
using sscs.communication.win;
namespace sscs.communication
{
/// <summary>
/// Summary description for WinCommunication.
/// </summary>
public class WinCommunication : Communication
{
public static IChannelManager PipeManager;
public WinCommunication()
{
2006-01-18 00:07:05 +01:00
PipeManager = new PipeManager();
PipeManager.Initialize();
}
public void StartCommunicationEndPoint()
{
Console.WriteLine("StartCommunctionEndPointed called");
//PipeManager = new PipeManager();
//PipeManager.Initialize();
//PipeManager.Start();
2006-01-18 00:07:05 +01:00
PipeManager.Start();
}
public void CloseCommunicationEndPoint()
{
PipeManager.Stop();
}
}
}