Ejemplo n.º 1
0
 private static void _asyncClient_Disposed(object sender, Communications.Common.CommunicationObject communicationObject = null)
 {
     if (!_isManualDispose)
     {
         AsyncConnectBase();
     }
 }
Ejemplo n.º 2
0
 private static void _pipesAsyncServer_Disposed(object sender, Communications.Common.CommunicationObject communicationObject = null)
 {
     if (!_isManualDispose)
     {
         CreateAsyncServerBase();
     }
 }
Ejemplo n.º 3
0
 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);
     }
 }
Ejemplo n.º 4
0
 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);
     }
 }
Ejemplo n.º 5
0
 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);
 }
Ejemplo n.º 6
0
 private static void _asyncClient_Connected(object sender, Communications.Common.CommunicationObject communicationObject = null)
 {
     NLogger.LogDebugToHdd("server connected");
 }
Ejemplo n.º 7
0
 private void _pipesAsyncServer_Connected(object sender, Communications.Common.CommunicationObject communicationObject = null)
 {
     NLogger.LogDebugToHdd($"Server: Client connected. Pipe name: \"{_pipeName}\"", MainSettings.Constants.PIPES_LOGGER_NAME);
 }
Ejemplo n.º 8
0
 private static void _pipesAsyncServer_Connected(object sender, Communications.Common.CommunicationObject communicationObject = null)
 {
     NLogger.LogDebugToHdd("client connected");
 }