private static void _asyncClient_Disposed(object sender, Communications.Common.CommunicationObject communicationObject = null) { if (!_isManualDispose) { AsyncConnectBase(); } }
private static void _pipesAsyncServer_Disposed(object sender, Communications.Common.CommunicationObject communicationObject = null) { if (!_isManualDispose) { CreateAsyncServerBase(); } }
private void _pipesAsyncServer_Disposed(object sender, Communications.Common.CommunicationObject communicationObject = null) { if (!_isManualDispose) { NLogger.LogDebugToHdd($"Server: Disposed. Pipe name: \"{_pipeName}\"", MainSettings.Constants.PIPES_LOGGER_NAME); CreateAsyncServerBase(); } else { NLogger.LogDebugToHdd($"Server: Manual dispose. Pipe name: \"{_pipeName}\"", MainSettings.Constants.PIPES_LOGGER_NAME); } }
private static void _asyncClient_MessageRecieved(object sender, Communications.Common.CommunicationObject communicationObject = null) { if (communicationObject.ActionType == CommunicationActionType.MessageRecieved) { _isMessageRecieved = true; } else { if (communicationObject.Tag != null && (bool)(communicationObject.Tag)) { SendAsyncMessage(new CommunicationObject { ActionType = CommunicationActionType.MessageRecieved }); } AsyncPipesAction(communicationObject); } }
protected virtual void _asyncClient_Connected(object sender, Communications.Common.CommunicationObject communicationObject = null) { NLogger.LogDebugToHdd($"Client: Async client connected. Pipe name: \"{_pipeName}\"", MainSettings.Constants.PIPES_LOGGER_NAME); }
private static void _asyncClient_Connected(object sender, Communications.Common.CommunicationObject communicationObject = null) { NLogger.LogDebugToHdd("server connected"); }
private void _pipesAsyncServer_Connected(object sender, Communications.Common.CommunicationObject communicationObject = null) { NLogger.LogDebugToHdd($"Server: Client connected. Pipe name: \"{_pipeName}\"", MainSettings.Constants.PIPES_LOGGER_NAME); }
private static void _pipesAsyncServer_Connected(object sender, Communications.Common.CommunicationObject communicationObject = null) { NLogger.LogDebugToHdd("client connected"); }