Moving micasa 1.5 trunk to Novell forge.
This commit is contained in:
		
							
								
								
									
										28
									
								
								c_micasad/lib/communication/IPCClientFactory.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								c_micasad/lib/communication/IPCClientFactory.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| 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 | ||||
| 		} | ||||
|  | ||||
|  | ||||
| 	} | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user