Mock client used for unit testing networking when using a real client and server would
be much too slow.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Networking.Mocks MockClient
DeltaEngine.Networking.Mocks MockConnection
Namespace: DeltaEngine.Networking.Mocks
Assembly: DeltaEngine.Networking.Mocks (in DeltaEngine.Networking.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The MockClient type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | MockClient | Initializes a new instance of the MockClient class |
Methods
Name | Description | |
---|---|---|
![]() | Connect | |
![]() | Dispose | Releases all resources used by the MockClient |
![]() | Send |
Fields
Name | Description | |
---|---|---|
![]() | server |
Properties
Name | Description | |
---|---|---|
![]() | IsConnected | |
![]() | LastReceivedMessage | |
![]() | LastSentMessage | |
![]() | TargetAddress | |
![]() | UniqueID |
Events
Name | Description | |
---|---|---|
![]() | Connected | |
![]() | DataReceived | |
![]() | DataSent | |
![]() | Disconnected |
See Also