/* public Tashjik.Common.Data getData(byte[] byteKey) * { * return dataStore.getData(byteKey); * } */ public void beginGetData(byte[] byteKey, AsyncCallback getDataCallBack, Object appState) { //once DataStore gets complex, this operation should not complete on the same synchronous thread Tashjik.Common.Data_Object data_Object = new Tashjik.Common.Data_Object(); data_Object.data = dataStore.getData(byteKey); data_Object.obj = appState; IAsyncResult getDataResult = new Tashjik.Common.Data_ObjectAsyncResult(data_Object, true, true); getDataCallBack(getDataResult); }
/* public Tashjik.Common.Data getData(byte[] byteKey) { return dataStore.getData(byteKey); } */ public void beginGetData(byte[] byteKey, AsyncCallback getDataCallBack, Object appState) { //once DataStore gets complex, this operation should not complete on the same synchronous thread Tashjik.Common.Data_Object data_Object = new Tashjik.Common.Data_Object(); data_Object.data = dataStore.getData(byteKey); data_Object.obj = appState; IAsyncResult getDataResult = new Tashjik.Common.Data_ObjectAsyncResult(data_Object, true, true); getDataCallBack(getDataResult); }