The class SCClient. Client to a SC. Communication between client and SC starts with attaching the client to the SC. Settings like keep alive interval or max number of connections must be set before attaching the client. After successful attaching the client API user may create session, publish or file services. More information available in specific classes.
State Diagram
|| \/ |---------| |----------| | initial |----attach--->| attached | | |<---detach----| | |---------| |----------| || \/
Never forget at the end of a communication to detach the client of the SC. Even in case of an error the detach must be done! Like closing a file or a stream. The detach operation does detach client from SC and releases local resources (connections, timers, threads) if not used by another client.