This project is read-only.

TCP.TCPClient

This document explains the intent, thinking and code in the TCPClient class

NetworkingLibrary-InitialRelease-TCPClient.png
(Above: Code overview of TCPClient)

The TCPClient interface implements ITCPClient. Below is, therefore, only explanation of the specific implementation of properties, methods and events, for more general explanantion please see ITCPClient.

Methods:
  • GetMessageResponse : Sends the MessageObject passed and waits for the specified response type. Will then return the receieved MessageObject or null. Initial release will throw ArgumentOutOfRangeException if no responses are received or if no responses of correct type are received. The timout in the initial release was 10 seconds. (May wish to implement an extra method that allows specification of timeout period. Also may wish to comment out error throwing and just return null.)

Last edited Dec 15, 2011 at 7:39 PM by EdwardNutting, version 4

Comments

No comments yet.