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

(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.

  • 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 6:39 PM by EdwardNutting, version 4


No comments yet.