Use Class Object to send a Message and use AbstractFrame to encode and decode a Frame