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_G2H WrapMessageAndReturn(string ipAddress, FF_FlowInitiation flowInitiation, FFTgt_B2B_GameMessage data)
 {
     FFMsg_G2H msg = FreeformEntityFactory.CreateG2HMessage(ipAddress, FF_AppId_G2H_Commands.ResponseRequest,
         FF_AppId_G2H_MessageTypes.FreeForm, FF_AppId_SessionIds.GameMessage, false,
         data);
     msg.FlowInitiation = flowInitiation;
     return msg;
 }
 private static FFMsg_H2G WrapMessageAndReturnH2G(string ipAddress, FF_AppId_H2G_PollCodes pollCode, FFTgt_B2B_GameMessage data)
 {
     return WrapMessageAndReturnH2G(ipAddress, pollCode, FF_FlowInitiation.Any, data);
 }
 private static FFMsg_G2H WrapMessageAndReturn(string ipAddress, FFTgt_B2B_GameMessage data)
 {
     return WrapMessageAndReturn(ipAddress, FF_FlowInitiation.Any, data);
 }