using System.Threading.Tasks; using Rebus.Bus; using Rebus.Handlers; using TBL.CSharp.Game.Server.BuiltInSignal; namespace TBL.CSharp.Game.Server.BuiltInService; /// /// 门户服务 /// 外部请求将在此进行就地处理或转发至其它内部服务 /// public class GatewayService : IHandleMessages { private IBus _bus; public GatewayService(IBus bus) { _bus = bus; } /// /// 响应远程请求 /// public Task Handle(RemoteRequest request) { return Task.CompletedTask; } }