changed to using static ints values for message types

Signed-off-by: Cory Feitelson <cfeitelson@roovy.com>