Inheritance: IProperties
Esempio n. 1
0
 public static Properties CreateProperties(IPEndPoint ipEndPoint, ChannelFactory factory)
 {
     var properties = new Properties();
     properties.SetIpEndPoint(ipEndPoint);
     properties.ChannelFactory = factory;
     return properties;
 }
Esempio n. 2
0
 /// <summary>
 /// 새로운 Properties를 생성하는 메소드
 /// </summary>
 /// <param name="ipEndPoint">사용할 IPEndPoint</param>
 /// <param name="pipe">사용할 ChannelPipe</param>
 /// <returns>생성된 Properties 객체</returns>
 public static Properties CreateProperties(IPEndPoint ipEndPoint, IChannelPipe pipe)
 {
     var properties = new Properties();
     properties.SetIpEndPoint(ipEndPoint);
     properties.ChannelPipe = pipe;
     return properties;
 }
Esempio n. 3
0
        static void Main(string[] args)
        {
            var properties = new Properties();
            properties.SetIpEndPoint(new IPEndPoint(IPAddress.Any, 7777));
            properties.SetChannelFactoryOption(factory => SetFactoryOption((ChannelFactory)factory));

            var netronics = new Netronics.Netronics(properties);
            netronics.Start();

            ExitEvent.WaitOne();
        }