public virtual void rpc_HandleSystem(SystemStaticServicesStartedNotify shutdown) { area_manager.CallAsync <RegistAreaResponse>(new RegistAreaRequest() { areaName = SelfAddress.ServiceName, areaNode = SelfAddress.ServiceNode, }); }
public virtual void system_rpc_Handle(SystemStaticServicesStartedNotify shutdown) { log.InfoFormat("HostIP={0} HostPort={1}", acceptor_host, acceptor_port); log.InfoFormat("[ConnectServer Started]"); this.acceptor.StartAsync(); this.OnGateSyncTimerTick(this); var intervalSec = TimeSpan.FromSeconds(TimerConfig.timer_sec_SyncConnectToGateNotify); this.gate_sync_timer = base.Provider.CreateTimer(OnGateSyncTimerTick, this, intervalSec, intervalSec); }