public MobiledgeXIntegration() { pIntegration = new PlatformIntegration(); me = new MatchingEngine(); // Set the platform specific way to get SIM carrier information. me.carrierInfo = pIntegration; }
public MobiledgeXIntegration() { // Set the platform specific way to get SIM carrier information. pIntegration = new PlatformIntegration(); // Platform integration needs to initialize first: me = new MatchingEngine(pIntegration.CarrierInfo, pIntegration.NetInterface, pIntegration.UniqueID); // Optional NetTesting. netTest = new NetTest(me); }
// Get the ephemerial carriername from device specific properties. public string getCurrentCarrierName() { // Call whenever network provider changes, but the demo app pointed to mexdemo server // won't need to track the carrier. The demo requires TDG: var Platform = new PlatformIntegration(); string cn = Platform.GetCurrentCarrierName(); Debug.Log("Inspection only: Platform carrierName is [" + cn + "]"); // Just return default for MexSample: return(carrierName); }
public MobiledgeXIntegration() { // Set the platform specific way to get SIM carrier information. pIntegration = new PlatformIntegration(); // The following is to allow Get{TCP, TLS, UDP}Connection APIs to return the configured // edge network path to your MobiledgeX AppInsts. Other connections will use the system // default network route. NetInterface netInterface = new SimpleNetInterface(pIntegration.NetworkInterfaceName); // Platform integration needs to initialize first: me = new MatchingEngine(pIntegration, netInterface); // Optional NetTesting. netTest = new NetTest(me); }