case CONNECT.TYPE: return new CONNECT().decode(frame).toString();
case DISCONNECT.TYPE: return new DISCONNECT().decode(frame).toString();
case SUBSCRIBE.TYPE: return new SUBSCRIBE().decode(frame).toString();
case UNSUBSCRIBE.TYPE: return new UNSUBSCRIBE().decode(frame).toString();
case PUBLISH.TYPE: return new PUBLISH().decode(frame).toString();
case PUBACK.TYPE: return new PUBACK().decode(frame).toString();
case PUBREC.TYPE: return new PUBREC().decode(frame).toString();
case PUBREL.TYPE: return new PUBREL().decode(frame).toString();
case PUBCOMP.TYPE: return new PUBCOMP().decode(frame).toString();
case CONNACK.TYPE: return new CONNACK().decode(frame).toString();
case SUBACK.TYPE: return new SUBACK().decode(frame).toString();