added message event method
Merge pull request #64 from NewSpring/feature-message-event

added message event method