MQTT endpoint connection role.
as client. Can't send CONNACK, SUBACK, UNSUBACK, PINGRESP. Can send Other packets.
as server. Can't send CONNECT, SUBSCRIBE, UNSUBSCRIBE, PINGREQ, DISCONNECT(only on v3.1.1). Can send Other packets.
can send all packets. (no check)