EvdStreamThrottle

EvdStreamThrottle

Synopsis

struct              EvdStreamThrottle;
struct              EvdStreamThrottleClass;
gfloat              evd_stream_throttle_get_actual_bandwidth
                                                        (EvdStreamThrottle *self);
guint64             evd_stream_throttle_get_total       (EvdStreamThrottle *self);
EvdStreamThrottle * evd_stream_throttle_new             (void);
void                evd_stream_throttle_report          (EvdStreamThrottle *self,
                                                         gsize size);
gsize               evd_stream_throttle_request         (EvdStreamThrottle *self,
                                                         gsize size,
                                                         guint *wait);

Object Hierarchy

  GObject
   +----EvdStreamThrottle

Properties

  "bandwidth"                gfloat                : Read / Write
  "latency"                  gfloat                : Read / Write
  "total"                    guint64               : Read

Description

Details

struct EvdStreamThrottle

struct EvdStreamThrottle;


struct EvdStreamThrottleClass

struct EvdStreamThrottleClass {
  GObjectClass parent_class;
};


evd_stream_throttle_get_actual_bandwidth ()

gfloat              evd_stream_throttle_get_actual_bandwidth
                                                        (EvdStreamThrottle *self);


evd_stream_throttle_get_total ()

guint64             evd_stream_throttle_get_total       (EvdStreamThrottle *self);


evd_stream_throttle_new ()

EvdStreamThrottle * evd_stream_throttle_new             (void);


evd_stream_throttle_report ()

void                evd_stream_throttle_report          (EvdStreamThrottle *self,
                                                         gsize size);


evd_stream_throttle_request ()

gsize               evd_stream_throttle_request         (EvdStreamThrottle *self,
                                                         gsize size,
                                                         guint *wait);

Property Details

The "bandwidth" property

  "bandwidth"                gfloat                : Read / Write

The maximum bandwidth in kilobytes.

Allowed values: >= 0

Default value: 0


The "latency" property

  "latency"                  gfloat                : Read / Write

The minimum time between two transfers, in miliseconds.

Allowed values: >= 0

Default value: 0


The "total" property

  "total"                    guint64               : Read

Total sum of bytes ever reported to this stream-throttle.

Default value: 0