/// <summary> /// Constructs a new sender for a function. /// </summary> /// <param name="forward"></param> public MqttForward(Action <int, string, ArraySegment <byte> > forward) { this.Forward = forward; this.Identity = ConnectionId.NewConnectionId(); }