41 lines
833 B
C#
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();
|
|
}
|
|
}
|
|
}
|