Save() public static method

public static Save ( DeviceConfiguration config, long instanceId ) : void
config TrakHound.Configurations.DeviceConfiguration
instanceId long
return void
Ejemplo n.º 1
0
        private void UpdateAgentData(long instanceId)
        {
            if (instanceId != agentInstanceId)
            {
                SendAgentReset(configuration);
                AgentData.Save(configuration, instanceId);

                agentInstanceId = instanceId;
            }
        }
Ejemplo n.º 2
0
 private void UpdateAgentData(long instanceId, long sequence)
 {
     if (instanceId != agentInstanceId || sequence != lastSequenceSampled)
     {
         AgentData.Save(configuration, instanceId, sequence);
         agentInstanceId     = instanceId;
         lastSequenceSampled = sequence;
         if (instanceId != agentInstanceId)
         {
             SendAgentReset(configuration);
         }
     }
 }