support sendmessage & getmessage