Ejemplo 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);
        }
Ejemplo 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);
        }
Ejemplo n.º 3
0
 public SocketListener(Binding binding, HyperletterFactory factory)
 {
     _binding = binding;
     _factory = factory;
 }
Ejemplo n.º 4
0
 public SocketListener(Binding binding, HyperletterFactory factory)
 {
     _binding = binding;
     _factory = factory;
 }
Ejemplo n.º 5
0
 public SocketListener(HyperletterFactory factory)
 {
     _factory = factory;
 }
Ejemplo n.º 6
0
 public SocketListener(HyperletterFactory factory)
 {
     _factory = factory;
 }