29 lines
421 B
C#
29 lines
421 B
C#
|
using System;
|
||
|
|
||
|
namespace Novell.CASA.MiCasa.Communication
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Summary description for IPCClientFactory.
|
||
|
/// </summary>
|
||
|
public class IPCClientFactory
|
||
|
{
|
||
|
private IPCClientFactory()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public static ClientChannel CreateClientConnection()
|
||
|
{
|
||
|
|
||
|
#if LINUX
|
||
|
return( new UnixIPCClientChannel());
|
||
|
#endif
|
||
|
#if W32
|
||
|
return (new WinIPCClientChannel());
|
||
|
#endif
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|