实现消息处理.

Signed-off-by: jack <jack.wgm@gmail.com>