Commit Graph

131 Commits

Author SHA1 Message Date
Andrew Welker
664b26908b Merge branch 'main' into hotfix/ssh-logging 2022-02-09 09:14:07 -07:00
Andrew Welker
e565144830 refactor: Move failure handling out of catch blocks just in case 2021-10-18 12:16:22 -06:00
Andrew Welker
f947bb8939 refactor: Add logging of some messages to error log
Also moves some error handling and status notifications into the catch blocks in the `Connectr()` method.
2021-10-18 12:04:51 -06:00
Neil Dorin
4af5eede40 feat(PepperDashCore): #114 Adds QscCoreDoubleTcpIpClient 2021-08-24 10:28:46 -06:00
Neil Dorin
5779842e9a fix(GenericSshClient): #110 Adds check to ensure TheStream != null and IsConnected in SendText() and SentBytes() 2021-07-30 13:49:57 -06:00
Andrew Welker
fcc7169be9 Merge branch 'development' into hotfix/udp-server-queue 2021-07-01 14:24:41 -06:00
Andrew Welker
43efa2de18 fix: (PepperDash Core) Fix issue with stream debugging and bytes received
Also fixed some spelling errors and added length info to the received messages for UDP, TCP, and SSH clients
2021-07-01 14:00:27 -06:00
Nick Genovese
14b3f1b493 removed udp server queue 2021-06-17 08:51:31 -07:00
Neil Dorin
8d90247425 Merge pull request #96 from PepperDash/hotfix/tcp-client-disconnect-timer-exeption
Hotfix/tcp client disconnect timer exeption
2021-04-22 14:39:18 -06:00
Neil Dorin
81b274fa99 #94 adds null check in timer callback and stops timer on user disconnect call 2021-04-22 14:26:36 -06:00
Alex Johnson
3725980462 Adds better stream debugging for SendText methods 2021-03-04 11:02:19 -05:00
Andrew Welker
fa451e980b remove additional debug statement 2020-12-21 12:35:54 -07:00
Andrew Welker
9f84090f3d remove debug statement 2020-12-21 11:45:25 -07:00
Andrew Welker
5c603a636c stop AutoReconnect on initial connect
also corrected a debug call to add the key
2020-11-10 16:06:53 -07:00
Andrew Welker
895873c51e add StopDebugTimer method 2020-10-28 08:58:07 -06:00
Alex Johnson
c253007def Update CommunicationStreamDebugging.cs
Removed unneeded change to convert item to string.
2020-10-15 16:52:24 -04:00
Alex Johnson
3d7bc32b8a Fixes some exceptions when setting stream debugging mode. Changes stream debugging to clear both rx and tx flags before setting mode again. 2020-10-15 16:30:54 -04:00
Andrew Welker
82c23b84f1 Update eControlMethods.cs 2020-09-17 08:57:28 -06:00
Andrew Welker
6133df971d Initialize StreamDebugging from S+ constructors 2020-08-14 10:51:49 -06:00
Andrew Welker
a67baaa9c8 Change buffer size back to 65534 for GenericSshClient 2020-06-24 13:05:55 -06:00
Neil Dorin
be86d0e165 Merge pull request #29 from PepperDash/feature/TcpShutdownDisconnect
Fix GenericTcpIpClient reconnect when disconnect is requested
2020-06-10 09:23:53 -06:00
Jason Alborough
b136cc026c Merge branch 'development' into feature/TcpShutdownDisconnect 2020-06-10 09:08:09 -04:00
Jason Alborough
69587021cb Revere the uncommenting of debug statements 2020-06-10 09:07:37 -04:00
Jason Alborough
f89c75debc #28 Fixes issue where GenericTxpIpClient would attempt to reconnect when it was disconnected on a shutdown or program stop. 2020-06-09 20:44:52 -04:00
Andrew Welker
e3c5f101bc fixes conditional for turning debugging off 2020-06-09 15:57:32 -06:00
Andrew Welker
91abd2dd10 fixes issues with various methods 2020-06-09 15:53:43 -06:00
Andrew Welker
a7bacd26dd change private field to store ms instead of minutes 2020-06-09 15:16:08 -06:00
Neil Dorin
8f075fbed7 Adds IStreamDebugging and associated logic to implment on TCP, SSH and UDP methods 2020-06-09 14:05:27 -06:00
Neil Dorin
b13f425169 #11 adds semaphore to prevent Connect() from being called from S+ if a connection attempt is still in progress. 2020-02-25 15:19:49 -07:00
Jason T Alborough
c037d73e32 Adds logging of the SocketErrorCode when arming WaitForConnectionAsync.
#8
2020-02-22 07:22:10 -05:00
Jason T Alborough
c823760711 # GenericSecureTcpIpServer
- Restarts the server whenever a faulty client connection occurs. This appears the only way to get the listener back after a faulty attempt.
- Removes the condition on rearming the server.WaitForConnectionAsync callback.
2020-02-21 13:03:14 -05:00
Neil Dorin
814e0f247c closes PDC-43 and adds correct condition before printing statment in Debug class. 2020-02-11 14:52:34 -07:00
Neil Dorin
43c6083b03 Merge remote-tracking branch 'origin/bugfix/PDC-38_RestartListeningAfterMax' into bugfix/pdc-41 2020-01-24 15:30:28 -07:00
Neil Dorin
5576fa349d Cleans up the disconnect logic and adds KillClient() to better control process of disposing of resources before reconnect attempts. Adds XML help for propeties and methods 2020-01-24 15:29:54 -07:00
Alex Johnson
19263590a7 Changes Ssh client autoreconnect method to null client and start with new client on next attempt. Saw issues specifically with Polycom not reconnecting unless we spin up a new client. 2020-01-21 09:51:16 -05:00
Jason T Alborough
b5f611f3ba Changes the conditions under which the server would restart. 2020-01-17 20:02:41 -05:00
Jason T Alborough
dd3227d59e Restarts the listener if the server Clients is < MaxClients and not listening. 2020-01-03 14:58:24 -05:00
Neil Dorin
b96ac89195 adds a null check to Receive() 2019-12-12 15:32:58 -07:00
Neil Dorin
f3b70a8edb Adds better null check to WaitAndTryReconnect() 2019-12-12 15:14:55 -07:00
Neil Dorin
aebd577dd6 Adds null check in WaitAndTryReconnect() 2019-12-12 15:07:40 -07:00
Neil Dorin
f9ae8ca38f Adds XML summary comments 2019-12-12 14:14:56 -07:00
Jason T Alborough
fa2feb698c Really removes general status debug messages from level 1 to level 2 in Tcp Clients for Server 2019-11-12 17:26:15 -05:00
Jason T Alborough
6a81306166 Changes general status debug messages from level 1 to level 2 in Tcp Clients for Server 2019-11-08 11:20:40 -05:00
Neil Dorin
fcf59f7b4c Merge remote-tracking branch 'origin/development' into HEAD
# Conflicts:
#	Pepperdash Core/Pepperdash Core/JsonToSimpl/JsonToSimplFileMaster.cs
2019-10-15 12:37:15 -06:00
Jason T Alborough
139777b501 Adds conditions for when creating a new Ssh client. 2019-10-11 05:59:10 -04:00
Neil Dorin
765bc4392a Updates Assembly version to 1.0.0 to allow CI pipeline to set. Adds new constructor for GenericTcpIpClient that only takes a key. 2019-10-02 15:57:59 -06:00
Jason T Alborough
efe60b3ae0 Adds RecivedFromCLientIndexUshort to GenericTcpServerCommMethodRecieveTextArgs 2019-10-02 15:55:17 -04:00
Jason T Alborough
d8504fd70f PDC-18_AddS+ConstructorToEventArgs
Added
2019-08-30 13:50:42 -04:00
Heath Volmer
20f7265fdb ecs-1141: fixed null ref in TCP/Secure TCP server StopListening() 2019-08-16 09:30:36 -06:00
Neil Dorin
2a75ec5ec5 Merge remote-tracking branch 'origin/feature/UdpSimplModule' into maintenance/PR-3 2019-07-17 15:00:30 -06:00