messagecontructor.cpp prototype