New Server 5.2 API
With Server 5.2, you should move the installation of this system to the acceptConnection. More precisely, you should override the member function acceptConnection, then invoke either of the setEncoder or setDecoder methods from that overriden version.
In Server 5.2, when the connection is established, the server sends a message of acceptance or rejection to allow or deny this connection. This message is sent before the method onConnect is invoked but it must be encoded on server side to be decoded correctly on component side.
Setting the encoder/decoder system in the method IlsMvServer::onConnect generates the following message on the component side when the first message following a connection is received:
Error: Protocol mismatch. Cannot decode message






