protected < T extends IMessage < ID , DATA > > T deserialize ( byte [ ] msgData , Class < T > clazz ) { return msgData != null ? SerializationUtils . fromByteArray ( msgData , clazz ) : null ; }
Deserialize a message .