public void Update() { if (OnClientConnectResult != null) { mSocketDebug.DebugLog("lServer: Handling client connecting"); try { Socket client = mSocket.EndAccept(OnClientConnectResult); mSocketDebug.DebugLog("lServer: Client connected"); mClients.Add(client); SocketRead.Begin(client, OnReceive, OnReceiveError); OnClientConnectResult = null; } catch (System.Exception e) { mSocketDebug.DebugLogError("lServer: Exception when accepting incoming connection: " + e); } try { mSocket.BeginAccept(new System.AsyncCallback(OnClientConnect), mSocket); } catch (System.Exception e) { mSocketDebug.DebugLogError("lServer: Exception when starting new accept process: " + e); } } if ( mBatchedContent.Count > 0) { foreach (JSONData transaction in mBatchedContent) { Debug.Log(transaction.ToString()); } while (mBatchedContent.Count > 0) { mBatchedContent.Remove(0); } } }
private void OnClientConnect(System.IAsyncResult result) { OnClientConnectResult = result; }
public WeatherDescription[] EndGetWeatherInformation(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return((WeatherDescription[])(results[0])); }
public ForecastReturn EndGetCityForecastByZIP(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return((ForecastReturn)(results[0])); }
private object[] OnEndClose(System.IAsyncResult result) { ((System.ServiceModel.ICommunicationObject)(this)).EndClose(result); return(null); }
private string EndUploadFile(System.IAsyncResult result) { FlashCards.ViewModel.Phone.FlashCardsServiceReference.UploadFileTokenMessage retVal = ((FlashCards.ViewModel.Phone.FlashCardsServiceReference.IFlashCardService)(this)).EndUploadFile(result); return(retVal.Password); }
void System.ServiceModel.Routing.ISimplexSessionRouter.EndProcessMessage(System.IAsyncResult result) { }
public void EndDisconnect(System.IAsyncResult result) { object[] _args = new object[0]; base.EndInvoke("Disconnect", _args, result); }
double TransTraveler.ConverterService.CurrencyConvertorSoap.EndConversionRate(System.IAsyncResult result) { return(base.Channel.EndConversionRate(result)); }
public override void EndWrite(System.IAsyncResult asyncResult) { }
public override int EndRead(System.IAsyncResult asyncResult) { throw null; }
public Soulstone.SL.SoulstoneService.MusicTrack EndGetMusicTrack(System.IAsyncResult result) { object[] _args = new object[0]; Soulstone.SL.SoulstoneService.MusicTrack _result = ((Soulstone.SL.SoulstoneService.MusicTrack)(base.EndInvoke("GetMusicTrack", _args, result))); return(_result); }
public Soulstone.SL.SoulstoneService.SearchResultSet EndSearch(System.IAsyncResult result) { object[] _args = new object[0]; Soulstone.SL.SoulstoneService.SearchResultSet _result = ((Soulstone.SL.SoulstoneService.SearchResultSet)(base.EndInvoke("Search", _args, result))); return(_result); }
Soulstone.SL.SoulstoneService.MusicTrack Soulstone.SL.SoulstoneService.ISoulstoneService.EndGetMusicTrack(System.IAsyncResult result) { return(base.Channel.EndGetMusicTrack(result)); }
Soulstone.SL.SoulstoneService.SearchResultSet Soulstone.SL.SoulstoneService.ISoulstoneService.EndSearch(System.IAsyncResult result) { return(base.Channel.EndSearch(result)); }
public void EndCommit(System.IAsyncResult asyncResult) { }
public void EndSend(System.IAsyncResult result) { object[] _args = new object[0]; base.EndInvoke("Send", _args, result); }
RequestForQuoteServicesModuleLibrary.GroupMaintenanceService.updateValidityResponse RequestForQuoteServicesModuleLibrary.GroupMaintenanceService.GroupController.EndupdateValidity(System.IAsyncResult result) { return(base.Channel.EndupdateValidity(result)); }
System.ServiceModel.Channels.Message System.ServiceModel.Routing.IRequestReplyRouter.EndProcessRequest(System.IAsyncResult result) { throw null; }
public bool Enddelete(System.IAsyncResult result) { RequestForQuoteServicesModuleLibrary.GroupMaintenanceService.deleteResponse retVal = ((RequestForQuoteServicesModuleLibrary.GroupMaintenanceService.GroupController)(this)).Enddelete(result); return(retVal.@return); }
FlashCards.ViewModel.Phone.FlashCardsServiceReference.UploadFileTokenMessage FlashCards.ViewModel.Phone.FlashCardsServiceReference.IFlashCardService.EndUploadFile(System.IAsyncResult result) { return(base.Channel.EndUploadFile(result)); }
RequestForQuoteServicesModuleLibrary.GroupMaintenanceService.getAllResponse RequestForQuoteServicesModuleLibrary.GroupMaintenanceService.GroupController.EndgetAll(System.IAsyncResult result) { return(base.Channel.EndgetAll(result)); }
string FlashCards.ViewModel.Phone.FlashCardsServiceReference.IFlashCardService.EndGetFileUri(System.IAsyncResult result) { return(base.Channel.EndGetFileUri(result)); }
public groupDetailImpl[] EndgetAll(System.IAsyncResult result) { RequestForQuoteServicesModuleLibrary.GroupMaintenanceService.getAllResponse retVal = ((RequestForQuoteServicesModuleLibrary.GroupMaintenanceService.GroupController)(this)).EndgetAll(result); return(retVal.@return); }
public FlashCards.ViewModel.Phone.FlashCardsServiceReference.UploadFileTokenMessage EndUploadFile(System.IAsyncResult result) { object[] _args = new object[0]; FlashCards.ViewModel.Phone.FlashCardsServiceReference.UploadFileTokenMessage _result = ((FlashCards.ViewModel.Phone.FlashCardsServiceReference.UploadFileTokenMessage)(base.EndInvoke("UploadFile", _args, result))); return(_result); }
System.Guid LightCommunicator.Silverlight.ChatServer.IChatService.EndConnect(System.IAsyncResult result) { return(base.Channel.EndConnect(result)); }
public WeatherReturn EndGetCityWeatherByZIP(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return((WeatherReturn)(results[0])); }
void LightCommunicator.Silverlight.ChatServer.IChatService.EndDisconnect(System.IAsyncResult result) { base.Channel.EndDisconnect(result); }
void Game.IStage.Enter() { try { _Result = SocketIOResult.None; _AsyncResult = _Socket.BeginSend(_Buffer, 0, _Buffer.Length, 0, _WriteCompletion, null); } catch (System.Net.Sockets.SocketException ex) { System.Diagnostics.Debug.WriteLine(ex.ToString() + ex.ErrorCode); _Result = SocketIOResult.Break; } catch { _Result = SocketIOResult.Break; } }
private object[] OnEndDisconnect(System.IAsyncResult result) { ((LightCommunicator.Silverlight.ChatServer.IChatService)(this)).EndDisconnect(result); return(null); }
public System.Guid EndConnect(System.IAsyncResult result) { object[] _args = new object[0]; System.Guid _result = ((System.Guid)(base.EndInvoke("Connect", _args, result))); return(_result); }
protected void EndCommitInternal(System.IAsyncResult ar) { }