Example #1
0
 private static FFTgt_B2B_EFT WrapTargetAndReturn(FFTgt_B2B_EFT_Data data)
 {
     return(new FFTgt_B2B_EFT()
     {
         EFTData = data,
         IsSecured = false,
     });
 }
Example #2
0
        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);
        }
Example #3
0
 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));
 }
Example #4
0
        private static FFMsg_G2H WrapMessageAndReturnG2H(string ipAddress, FF_FlowInitiation flowInitiation, bool isSecured, FFTgt_B2B_EFT_Data data)
        {
            FFMsg_G2H msg = FreeformEntityFactory.CreateG2HMessage(ipAddress, FF_AppId_G2H_Commands.ResponseRequest,
                                                                   FF_AppId_G2H_MessageTypes.FreeForm, FF_AppId_SessionIds.ECash,
                                                                   (isSecured ? WrapTargetAndReturnSecured(data) : WrapTargetAndReturn(data)));

            msg.FlowInitiation = flowInitiation;
            return(msg);
        }
Example #5
0
 private static FFMsg_G2H WrapMessageAndReturnG2H(string ipAddress, bool isSecured, FFTgt_B2B_EFT_Data data)
 {
     return(WrapMessageAndReturnG2H(ipAddress, FF_FlowInitiation.Any, isSecured, data));
 }