CASA/c_micasad/communication/WinCommunication.cs
2006-01-17 23:07:05 +00:00

40 lines
811 B
C#

using System;
using sscs.common;
using sscs.constants;
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()
{
PipeManager = new PipeManager();
PipeManager.Initialize();
}
public void StartCommunicationEndPoint()
{
Console.WriteLine("StartCommunctionEndPointed called");
//PipeManager = new PipeManager();
//PipeManager.Initialize();
//PipeManager.Start();
PipeManager.Start();
}
public void CloseCommunicationEndPoint()
{
PipeManager.Stop();
}
}
}