|
@@ -98,7 +98,9 @@ namespace WingCloudServer
|
|
|
{
|
|
|
if(ConfigurationManager.IsMaster)
|
|
|
{
|
|
|
- _rpcHttpServer.RegisterService(typeof(IMasterInteractionCenterService), new MasterInteractionCenterService());
|
|
|
+ var masterInteractionCenterService = new MasterInteractionCenterService();
|
|
|
+ _rpcHttpServer.RegisterService(typeof(IMasterInteractionCenterService), masterInteractionCenterService);
|
|
|
+ masterInteractionCenterService.Load(rpcClientPool);
|
|
|
|
|
|
}
|
|
|
else
|
|
@@ -236,7 +238,7 @@ namespace WingCloudServer
|
|
|
{
|
|
|
var serviceInfo = new RemoteServiceInfo()
|
|
|
{
|
|
|
- ServiceName="MasterInteractionCenterService",
|
|
|
+ ServiceName="IMasterInteractionCenterService",
|
|
|
Url = ConfigurationManager.MasterUrl
|
|
|
};
|
|
|
resList.Add(serviceInfo);
|