case PINGREQ.TYPE: return new PINGREQ().decode(frame).toString();
case PINGRESP.TYPE: return new PINGRESP().decode(frame).toString();
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();