Beispiel #1
0
        private void on_ack_connect_gate()
        {
            var udp_ch = _udp_conn.connect(_udp_ip, _udp_port);

            _client_call_gate_fast = new caller.client_call_gate_fast(udp_ch);
            _client_call_gate_fast.refresh_udp_end_point();

            _heartbeats = service.timerservice.Tick;
            _client_call_gate.heartbeats(service.timerservice.Tick);

            timer.addticktime(5 * 1000, heartbeats);
            timer.addticktime(10 * 1000, refresh_udp_link);

            if (onConnectGate != null)
            {
                onConnectGate();
            }
        }
Beispiel #2
0
 public void bind_udpchannel(juggle.Ichannel udp_ch)
 {
     _client_call_gate_fast = new caller.client_call_gate_fast(udp_ch);
 }