CASA/c_micasad/communication/WinCommunication.cs
2005-10-11 19:51:00 +00:00

41 lines
833 B
C#

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