protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request) { MonTgt_H2G_Client_RemoveUDPFromList tgtSrc = request as MonTgt_H2G_Client_RemoveUDPFromList; if (tgtSrc != null) { FFTgt_B2B_Client tgtDest = new FFTgt_B2B_Client(); FFTgt_H2G_Client_RemoveUDPFromList ffTgtGameIdInfo = new FFTgt_H2G_Client_RemoveUDPFromList() { InstallationNo = parent.InstallationNo, }; tgtDest.AddTarget(ffTgtGameIdInfo); return(tgtDest); } return(null); }
protected override bool OnProcessMessageH2GExternal_GMU(FFTgtExecutionContext context, IFreeformEntity_MsgTgt target) { FFTgt_H2G_Client_RemoveUDPFromList tgtSrc = target as FFTgt_H2G_Client_RemoveUDPFromList; return(ExCommsExecutorFactory.RemoveInstallation(tgtSrc.InstallationNo)); }