using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sog { public class AsyncState { public int m_offset { get; set; } public int m_count { get; set; } public bool m_keepAlive { get; set; } public void Clear() { m_offset = -1; m_count=0; m_keepAlive = false; } public AsyncState(int offset, int count, bool keepAlive=false) { m_offset = offset; m_count = count; m_keepAlive = keepAlive; } } }