They need to be overwritten in derived class for work with specific network providers. Depending on result of these functions network connection could be considered as broken and shutdown could be initiated. After message was successfully received it will be stick into input queue. Working thread, that checks for messages in input queue will be triggered automatically and will extract message from queue for processing. Application can register callback function within the class and this function will be called for every incoming message.
Application can register callback window within the class.
Message exchange protocol. CinOutConnection class provides basic functionality for message exchange protocol support. It can add header to the message, convert it to uuencode format or perfom any action, needed by application. It is called every second from Service Thread. Derive class from CinOutConnection to implement specific network provider functionality and message transmission format.