Commit Graph

27 Commits

Author SHA1 Message Date
Benito Palacios Sánchez
dfdf5ebdb1 Refactoring 2014-12-10 23:43:53 +01:00
Benito Palacios Sánchez
421cadfc7c Check correct reply message type 2014-12-10 21:07:40 +01:00
Benito Palacios Sánchez
f983c65061 Handle unknown message replies
* NitroDebugger/RSP/ReplyPacketFactory.cs:
  With FormatException is catched and sent a NACK
2014-12-10 20:57:31 +01:00
Benito Palacios Sánchez
6e6e3b5218 Updated IsConnected on lost connection 2014-12-10 20:32:06 +01:00
Benito Palacios Sánchez
78b0856c27 Implemented lost connection event 2014-12-10 20:30:00 +01:00
Benito Palacios Sánchez
21d75e214e App layer should not throw protocol exceptions 2014-12-10 20:19:28 +01:00
Benito Palacios Sánchez
003c5dfdbe Test connection close on HaltedReason command 2014-12-10 16:16:37 +01:00
Benito Palacios Sánchez
852be269db Query socket status 2014-12-10 16:13:47 +01:00
Benito Palacios Sánchez
21d51b6b16 Implemented Stop Signal Reply 2014-12-10 14:27:00 +01:00
Benito Palacios Sánchez
83d7836e78 Implemented HaltedReason command. 2014-12-10 13:57:30 +01:00
Benito Palacios Sánchez
f59642a243 Tested connections 2014-12-10 13:17:07 +01:00
Benito Palacios Sánchez
8b9262c6e6 Test connection by IP 2014-12-10 12:57:17 +01:00
Benito Palacios Sánchez
932cff2ff1 Refactored & tested StopSignals converter 2014-12-09 23:09:50 +01:00
Benito Palacios Sánchez
4f429a537c Automatic NuGet restore on builds 2014-12-08 18:15:16 +01:00
Benito Palacios Sánchez
3a06b1aa6b Max attempts for receive messages too 2014-12-08 15:39:18 +01:00
Benito Palacios Sánchez
4f698709a0 Test reply resent 2014-12-08 13:39:46 +01:00
Benito Palacios Sánchez
052449c4c3 Fixed bug receiving packets and created tests 2014-12-08 13:36:22 +01:00
Benito Palacios Sánchez
63ad6f372d Session can split packets 2014-12-08 11:18:05 +01:00
Benito Palacios Sánchez
1eb0937a31 Implemented OK reply packet 2014-12-08 01:29:10 +01:00
Benito Palacios Sánchez
38f6ac3416 Refactor packet class into the three subtypes 2014-12-08 01:20:02 +01:00
Benito Palacios Sánchez
800763469f Implemented binary to packet converter 2014-12-08 00:22:21 +01:00
Benito Palacios Sánchez
30d9fd761f Convert to binary packets with arguments 2014-12-07 23:54:32 +01:00
Benito Palacios Sánchez
ce563b28ac Implemented test for Packet and refactored
* Fixed a problem with checksums.
2014-12-07 23:15:10 +01:00
Benito Palacios Sánchez
49705ea722 Implemented session layer as raw TCP client.
* NitroDebugger/GdbClient.cs:
* NitroDebugger/RSP/Presentation.cs:
* NitroDebugger/NitroDebugger.csproj:
  Refactoring to Presentation layer

* NitroDebugger.UnitTests/SessionTests.cs:
  Created test for Session layer (TCP socket)

* NitroDebugger/RSP/Session.cs:
  Implemented session layer as raw TCP client.
2014-12-07 18:56:17 +01:00
Benito Palacios Sánchez
0ca8a61353 Test close connection 2014-12-07 17:10:47 +01:00
Benito Palacios Sánchez
0e3ac3b3ab Created test for localhost connection 2014-12-07 16:55:35 +01:00
Benito Palacios Sánchez
26b9317531 Created unit test project 2014-12-07 15:48:47 +01:00