Просмотр исходного кода

actorproxy只需要继承Disposer

tanghai 8 лет назад
Родитель
Сommit
f40b6225ff
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      Config/StartConfig/LocalAllServer.txt
  2. 1 1
      Server/Model/Entity/ActorProxy.cs

+ 1 - 1
Config/StartConfig/LocalAllServer.txt

@@ -1 +1 @@
-{ "_t" : "StartConfig", "_id" : NumberLong("98547768819754"), "components" : [{ "_t" : "OuterConfig", "Host" : "172.16.20.27", "Port" : 10002, "Host2" : null }, { "_t" : "InnerConfig", "Host" : "127.0.0.1", "Port" : 20000 }, { "_t" : "HttpConfig", "Url" : "", "AppId" : 0, "AppKey" : "", "ManagerSystemUrl" : "" }, { "_t" : "DBConfig", "ConnectionString" : null, "DBName" : null }], "AppId" : 1, "AppType" : "AllServer", "ServerIP" : "*" }
+{ "_t" : "StartConfig", "_id" : NumberLong("98547768819754"), "components" : [{ "_t" : "OuterConfig", "Host" : "127.0.0.1", "Port" : 10002, "Host2" : null }, { "_t" : "InnerConfig", "Host" : "127.0.0.1", "Port" : 20000 }, { "_t" : "HttpConfig", "Url" : "", "AppId" : 0, "AppKey" : "", "ManagerSystemUrl" : "" }, { "_t" : "DBConfig", "ConnectionString" : null, "DBName" : null }], "AppId" : 1, "AppType" : "AllServer", "ServerIP" : "*" }

+ 1 - 1
Server/Model/Entity/ActorProxy.cs

@@ -88,7 +88,7 @@ namespace Model
 		}
 	}
 
-	public sealed class ActorProxy : Entity
+	public sealed class ActorProxy : Disposer
 	{
 		// actor的地址
 		public string Address;