EvdThrottledInputStream

EvdThrottledInputStream

Synopsis

                    EvdThrottledInputStream;
                    EvdThrottledInputStreamClass;
                    EvdThrottledInputStreamPrivate;
EvdThrottledInputStream * evd_throttled_input_stream_new
                                                        (GInputStream *base_stream);
gsize               evd_throttled_input_stream_get_max_readable
                                                        (EvdThrottledInputStream *self,
                                                         guint *retry_wait);
void                evd_throttled_input_stream_add_throttle
                                                        (EvdThrottledInputStream *self,
                                                         EvdStreamThrottle *throttle);
void                evd_throttled_input_stream_remove_throttle
                                                        (EvdThrottledInputStream *self,
                                                         EvdStreamThrottle *throttle);

Object Hierarchy

  GObject
   +----GInputStream
         +----GFilterInputStream
               +----EvdThrottledInputStream

Signals

  "delay-read"                                     : Run Last / Action

Description

Details

EvdThrottledInputStream

typedef struct _EvdThrottledInputStream EvdThrottledInputStream;


EvdThrottledInputStreamClass

typedef struct {
  GFilterInputStreamClass parent_class;

  /* signal prototypes */
  void (* delay_read) (EvdThrottledInputStream *self,
                       guint                    wait,
                       gpointer                 user_data);
} EvdThrottledInputStreamClass;


EvdThrottledInputStreamPrivate

typedef struct _EvdThrottledInputStreamPrivate EvdThrottledInputStreamPrivate;


evd_throttled_input_stream_new ()

EvdThrottledInputStream * evd_throttled_input_stream_new
                                                        (GInputStream *base_stream);

base_stream :

Returns :


evd_throttled_input_stream_get_max_readable ()

gsize               evd_throttled_input_stream_get_max_readable
                                                        (EvdThrottledInputStream *self,
                                                         guint *retry_wait);

self :

retry_wait :

. [out]

Returns :


evd_throttled_input_stream_add_throttle ()

void                evd_throttled_input_stream_add_throttle
                                                        (EvdThrottledInputStream *self,
                                                         EvdStreamThrottle *throttle);

self :

throttle :


evd_throttled_input_stream_remove_throttle ()

void                evd_throttled_input_stream_remove_throttle
                                                        (EvdThrottledInputStream *self,
                                                         EvdStreamThrottle *throttle);

self :

throttle :

Signal Details

The "delay-read" signal

void                user_function                      (EvdThrottledInputStream *evdthrottledinputstream,
                                                        guint                    arg1,
                                                        gpointer                 user_data)                    : Run Last / Action

evdthrottledinputstream :

the object which received the signal.

arg1 :

user_data :

user data set when the signal handler was connected.