Esempio n. 1
0
        public HyperSocket(SocketOptions options)
        {
            Options = options;

            _factory          = new HyperletterFactory(BuildContainer());
            _letterDispatcher = _factory.CreateLetterDispatcher();

            _heartbeat = new Timer(Heartbeat, null, -1, -1);
            _heartbeat.Change(Options.Heartbeat.Interval, Options.Heartbeat.Interval);
        }
Esempio n. 2
0
        public HyperSocket(SocketOptions options)
        {
            Options = options;

            _factory = new HyperletterFactory(BuildContainer());
            _letterDispatcher = _factory.CreateLetterDispatcher();

            _heartbeat = new Timer(Heartbeat);
            _heartbeat.Change(Options.Heartbeat.Interval, Options.Heartbeat.Interval);
        }
Esempio n. 3
0
 public SocketListener(Binding binding, HyperletterFactory factory)
 {
     _binding = binding;
     _factory = factory;
 }
Esempio n. 4
0
 public SocketListener(Binding binding, HyperletterFactory factory)
 {
     _binding = binding;
     _factory = factory;
 }
Esempio n. 5
0
 public SocketListener(HyperletterFactory factory)
 {
     _factory = factory;
 }
Esempio n. 6
0
 public SocketListener(HyperletterFactory factory)
 {
     _factory = factory;
 }