private static FFMsg_H2G WrapMessageAndReturnH2G(string ipAddress, FF_AppId_H2G_PollCodes pollCode, FF_FlowInitiation flowInitiation, FFTgt_B2B_TicketInfoData data) { FFMsg_H2G msg = FreeformEntityFactory.CreateH2GMessage(ipAddress, pollCode, FF_AppId_SessionIds.Tickets, true, WrapTargetAndReturn(data)); msg.FlowInitiation = flowInitiation; return msg; }
private static FFMsg_H2G WrapMessageAndReturnH2G(string ipAddress, FF_AppId_H2G_PollCodes pollCode, FF_FlowInitiation flowInitiation, FFTgt_B2B_GameMessage data) { FFMsg_H2G msg = FreeformEntityFactory.CreateH2GMessage(ipAddress, pollCode, FF_AppId_SessionIds.GameMessage, false, data); msg.FlowInitiation = flowInitiation; return msg; }
private static FFMsg_H2G WrapMessageAndReturnH2G(string ipAddress, FF_AppId_H2G_PollCodes pollCode, FF_FlowInitiation flowInitiation, FFTgt_B2B_GameMessage data) { FFMsg_H2G msg = FreeformEntityFactory.CreateH2GMessage(ipAddress, pollCode, FF_AppId_SessionIds.GameMessage, false, data); msg.FlowInitiation = flowInitiation; return(msg); }
public MonTgtParserMappingH2GAttribute(FF_FlowDirection direction, Type monitorTargetType, int faultSource, int faultType, FF_AppId_H2G_PollCodes pollCode, FF_AppId_SessionIds sessionID) : this(direction, null, monitorTargetType, faultSource, faultType, pollCode, sessionID) { }
private static FFMsg_H2G WrapMessageAndReturnH2G(string ipAddress, FF_AppId_H2G_PollCodes pollCode, FF_FlowInitiation flowInitiation, FFTgt_B2B_TicketInfoData data) { FFMsg_H2G msg = FreeformEntityFactory.CreateH2GMessage(ipAddress, pollCode, FF_AppId_SessionIds.Tickets, true, WrapTargetAndReturn(data)); msg.FlowInitiation = flowInitiation; return(msg); }
private static FFMsg_H2G WrapMessageAndReturnH2G(string ipAddress, FF_AppId_H2G_PollCodes pollCode, FF_FlowInitiation flowInitiation, bool isSecured, FFTgt_B2B_EFT_Data data) { FFTgt_B2B_EFT eft = WrapTargetAndReturn(data); FFMsg_H2G msg = FreeformEntityFactory.CreateH2GMessage(ipAddress, pollCode, FF_AppId_SessionIds.ECash, true, (isSecured ? WrapTargetAndReturnSecured(data) : WrapTargetAndReturn(data))); msg.FlowInitiation = flowInitiation; return msg; }
private static FFMsg_H2G WrapMessageAndReturnH2G(string ipAddress, FF_AppId_H2G_PollCodes pollCode, FF_FlowInitiation flowInitiation, bool isSecured, FFTgt_B2B_EFT_Data data) { FFTgt_B2B_EFT eft = WrapTargetAndReturn(data); FFMsg_H2G msg = FreeformEntityFactory.CreateH2GMessage(ipAddress, pollCode, FF_AppId_SessionIds.ECash, true, (isSecured ? WrapTargetAndReturnSecured(data) : WrapTargetAndReturn(data))); msg.FlowInitiation = flowInitiation; return(msg); }
public FFMsg_H2G CreateH2GMessage(string ipAddress, FF_AppId_SessionIds sessionId, FF_AppId_H2G_PollCodes pollCode) { return(FreeformEntityFactory.CreateEntity <FFMsg_H2G>(FF_FlowDirection.H2G, new FFCreateEntityRequest_H2G() { IPAddress = ipAddress, PollCode = pollCode, SessionID = sessionId, TransactionID = this.TransactionIDNew, })); }
public MonTgtParserMappingH2GAttribute(FF_FlowDirection direction, Type freeformTargetType, Type monitorTargetType, int faultSource, int faultType, FF_AppId_H2G_PollCodes pollCode, FF_AppId_SessionIds sessionID) : base(direction, freeformTargetType, monitorTargetType, faultSource, faultType) { this.PollCode = pollCode; this.SessionID = sessionID; }
internal override IFreeformEntity ParseBufferInternal(ref IFreeformEntity entity, IFreeformEntity rootEntity, int id, byte[] buffer) { // get and verify the pollCode FF_AppId_H2G_PollCodes pollCode = buffer[FreeformConstants.IDX_SEND_POLLCODE].GetAppId <FF_GmuId_H2G_PollCodes, FF_AppId_H2G_PollCodes>(); if (pollCode == FF_AppId_H2G_PollCodes.None) { Log.Warning("Invalid message passed (Invalid pollCode)"); return(null); } // create the entity and parse int iPollCode = (int)pollCode; entity = this.GetParserFromAppId(iPollCode).ParseBuffer(rootEntity, buffer); // valid message return(entity); }
public static FFMsg_H2G CreateH2GMessage(string ipAddress, FF_AppId_H2G_PollCodes pollcode, FF_AppId_SessionIds sessionId, bool isResponseRequired, params IFreeformEntity_MsgTgt[] targets) { FFMsg_H2G msg = FreeformEntityFactory.CreateEntity <FFMsg_H2G>(FF_FlowDirection.H2G, new FFCreateEntityRequest_H2G_ResponseRequired() { PollCode = pollcode, SessionID = sessionId, IPAddress = ipAddress, SkipTransactionId = true, IsResponseRequired = isResponseRequired, }); if (targets != null) { msg.AddTargets(targets); } return(msg); }
private static FFMsg_H2G WrapMessageAndReturnH2G(string ipAddress, FF_AppId_H2G_PollCodes pollCode, FFTgt_B2B_TicketInfoData data) { return(WrapMessageAndReturnH2G(ipAddress, pollCode, FF_FlowInitiation.Any, data)); }
private static FFMsg_H2G WrapMessageAndReturnH2G(string ipAddress, FF_AppId_H2G_PollCodes pollCode, bool isSecured, FFTgt_B2B_EFT_Data data) { return(WrapMessageAndReturnH2G(ipAddress, pollCode, FF_FlowInitiation.Any, isSecured, data)); }
private static FFMsg_H2G WrapMessageAndReturnH2G(string ipAddress, FF_AppId_H2G_PollCodes pollCode, FFTgt_B2B_GameMessage data) { return WrapMessageAndReturnH2G(ipAddress, pollCode, FF_FlowInitiation.Any, data); }
public static FFMsg_H2G CreateH2GMessage(string ipAddress, FF_AppId_H2G_PollCodes pollcode, FF_AppId_SessionIds sessionId, params IFreeformEntity_MsgTgt[] targets) { return(CreateH2GMessage(ipAddress, pollcode, sessionId, false, targets)); }
private static FFMsg_H2G WrapMessageAndReturnH2G(string ipAddress, FF_AppId_H2G_PollCodes pollCode, bool isSecured, FFTgt_B2B_EFT_Data data) { return WrapMessageAndReturnH2G(ipAddress, pollCode, FF_FlowInitiation.Any, isSecured, data); }
public FFMsg_H2G CreateH2GMessage(string ipAddress, FF_AppId_SessionIds sessionId, FF_AppId_H2G_PollCodes pollCode) { return FreeformEntityFactory.CreateEntity<FFMsg_H2G>(FF_FlowDirection.H2G, new FFCreateEntityRequest_H2G() { IPAddress = ipAddress, PollCode = pollCode, SessionID = sessionId, TransactionID = this.TransactionIDNew, }); }