public virtual void DoUpdate(Lightstreamer.DotNet.Client.ServerUpdateEvent values)
{
int itemCode = values.ItemCode;
if (values.EOS)
{
try
{
this.listener.OnSnapshotEnd(itemCode);
}
catch (Exception)
{
}
}
else if (values.Overflow > 0)
{
if (!this.table.hasUnfilteredData())
{
throw new PushServerException(7);
}
try
{
this.listener.OnRawUpdatesLost(itemCode, values.Overflow);
}
catch (Exception)
{
}
}
else
{
string[] array = values.Array;
if (actionsLogger.IsDebugEnabled)
{
actionsLogger.Debug(string.Concat(new object[] { "Got event for item n\x00b0", itemCode, " in group ", this.table.group, " with values ", CollectionsSupport.ToString(array) }));
}
try
{
this.listener.OnUpdate(itemCode, array);
}
catch (Exception)
{
}
}
}