public void Init(IServerObjectHelper pSOH) { this.soHelper = pSOH; this.serverLog = new ServerLogger(); this.mapServerDataAccess = (IMapServerDataAccess)this.soHelper.ServerObject; ms = (IMapServer3)this.mapServerDataAccess; mapServerInfo = ms.GetServerInfo(ms.DefaultMapName); this.layerInfos = mapServerInfo.MapLayerInfos; this.mapDesc = (IMapDescription3)mapServerInfo.DefaultMapDescription; serverLog.LogMessage(ServerLogger.msgType.infoStandard, this.soeName + ".init()", 200, "Initialized " + this.soeName + " SOE."); }
public void Init(IServerObjectHelper pSOH) { this.soHelper = pSOH; this.serverLog = new ServerLogger(); this.mapServerDataAccess = (IMapServerDataAccess) this.soHelper.ServerObject; ms = (IMapServer3) this.mapServerDataAccess; mapServerInfo = ms.GetServerInfo(ms.DefaultMapName); this.layerInfos = mapServerInfo.MapLayerInfos; this.mapDesc = (IMapDescription3)mapServerInfo.DefaultMapDescription; serverLog.LogMessage(ServerLogger.msgType.infoStandard, this.soeName + ".init()", 200, "Initialized " + this.soeName + " SOE."); }