public void reg_hub(String hub_name, juggle.Ichannel ch) { if (ch_hubs.ContainsKey(ch)) { hubproxy _hubproxy = ch_hubs[ch]; uuid_hubs.Add(hub_name, _hubproxy); } }
public void client_connect(String client_uuid, juggle.Ichannel gate_ch) { if (ch_gateproxys.ContainsKey(gate_ch)) { var _proxy = ch_gateproxys[gate_ch]; clients.Add(client_uuid, _proxy); clientConnect(client_uuid); } }
public acceptnetworkservice(String ip, short port, juggle.process _process) { process_ = _process; listen = new TcpListener(IPAddress.Parse(ip), port); listen.Start(); listen.BeginAcceptSocket(new AsyncCallback(this.onAccept), listen); }
public void on_ack_reg_logic(String uuid, juggle.Ichannel ch) { if (!lgoicproxys.ContainsKey(uuid)) { if (connect_logicproxy.ContainsKey(ch)) { var _proxy = connect_logicproxy[ch]; lgoicproxys.Add(uuid, _proxy); } } }
public hub(juggle.Ichannel _ch) : base(_ch) { module_name = "hub"; }
public dbproxy(juggle.Ichannel _ch) : base(_ch) { module_name = "dbproxy"; }
public dbproxy_call_logic(juggle.Ichannel _ch) : base(_ch) { module_name = "dbproxy_call_logic"; }
public routing(juggle.Ichannel _ch) : base(_ch) { module_name = "routing"; }
public logicproxy(juggle.Ichannel ch) { _hub_call_logic = new caller.hub_call_logic(ch); }
public routing_call_logic(juggle.Ichannel _ch) : base(_ch) { module_name = "routing_call_logic"; }
public void add_process(juggle.process _process) { process_set.Add(_process); }
public logic_call_gate(juggle.Ichannel _ch) : base(_ch) { module_name = "logic_call_gate"; }
public center_call_logic(juggle.Ichannel _ch) : base(_ch) { module_name = "center_call_logic"; }
public dbproxyproxy(juggle.Ichannel ch) { _hub_call_dbproxy = new caller.hub_call_dbproxy(ch); callback_set = new Dictionary<string, object>(); }
public centerproxy(juggle.Ichannel ch) { is_reg_center_sucess = false; _hub_call_center = new caller.center(ch); }
public gateproxy(juggle.Ichannel ch) { _caller = new caller.logic_call_gate(ch); }
public logic_call_dbproxy(juggle.Ichannel _ch) : base(_ch) { module_name = "logic_call_dbproxy"; }
public void reg_logic(String uuid, juggle.Ichannel ch) { var _logicproxy = new logicproxy(ch); logicproxys.Add(uuid, _logicproxy); _logicproxy.reg_logic_sucess_and_notify_hub_nominate(); }
public gate_call_logic(juggle.Ichannel _ch) : base(_ch) { module_name = "gate_call_logic"; }
public client_call_gate(juggle.Ichannel _ch) : base(_ch) { module_name = "client_call_gate"; }
public test(juggle.Ichannel _ch) : base(_ch) { module_name = "test"; }
public dbproxy_call_hub(juggle.Ichannel _ch) : base(_ch) { module_name = "dbproxy_call_hub"; }
public logic_call_center(juggle.Ichannel _ch) : base(_ch) { module_name = "logic_call_center"; }
public hub_call_logic(juggle.Ichannel _ch) : base(_ch) { module_name = "hub_call_logic"; }
public gate_call_client(juggle.Ichannel _ch) : base(_ch) { module_name = "gate_call_client"; }
public center_call_hub(juggle.Ichannel _ch) : base(_ch) { module_name = "center_call_hub"; }
public logicproxy(juggle.Ichannel ch) { _caller = new caller.logic_call_logic(ch); }
public gm_center(juggle.Ichannel _ch) : base(_ch) { module_name = "gm_center"; }
public center_call_server(juggle.Ichannel _ch) : base(_ch) { module_name = "center_call_server"; }
public logicproxy on_reg_logic(String uuid, juggle.Ichannel ch) { if (!lgoicproxys.ContainsKey(uuid)) { var _proxy = new logicproxy(ch); lgoicproxys.Add(uuid, _proxy); return _proxy; } return lgoicproxys[uuid]; }