EvdThrottledOutputStream

EvdThrottledOutputStream

Synopsis

                    EvdThrottledOutputStream;
                    EvdThrottledOutputStreamClass;
                    EvdThrottledOutputStreamPrivate;
EvdThrottledOutputStream * evd_throttled_output_stream_new
                                                        (GOutputStream *base_stream);
gsize               evd_throttled_output_stream_get_max_writable
                                                        (EvdThrottledOutputStream *self,
                                                         guint *retry_wait);
void                evd_throttled_output_stream_add_throttle
                                                        (EvdThrottledOutputStream *self,
                                                         EvdStreamThrottle *throttle);
void                evd_throttled_output_stream_remove_throttle
                                                        (EvdThrottledOutputStream *self,
                                                         EvdStreamThrottle *throttle);

Object Hierarchy

  GObject
   +----GOutputStream
         +----GFilterOutputStream
               +----EvdThrottledOutputStream

Signals

  "delay-write"                                    : Run Last / Action

Description

Details

EvdThrottledOutputStream

typedef struct _EvdThrottledOutputStream EvdThrottledOutputStream;


EvdThrottledOutputStreamClass

typedef struct {
  GFilterOutputStreamClass parent_class;

  /* signal prototypes */
  void (* delay_write) (EvdThrottledOutputStream *self,
                        guint                    wait,
                        gpointer                 user_data);
} EvdThrottledOutputStreamClass;


EvdThrottledOutputStreamPrivate

typedef struct _EvdThrottledOutputStreamPrivate EvdThrottledOutputStreamPrivate;


evd_throttled_output_stream_new ()

EvdThrottledOutputStream * evd_throttled_output_stream_new
                                                        (GOutputStream *base_stream);

base_stream :

Returns :


evd_throttled_output_stream_get_max_writable ()

gsize               evd_throttled_output_stream_get_max_writable
                                                        (EvdThrottledOutputStream *self,
                                                         guint *retry_wait);

self :

retry_wait :

Returns :


evd_throttled_output_stream_add_throttle ()

void                evd_throttled_output_stream_add_throttle
                                                        (EvdThrottledOutputStream *self,
                                                         EvdStreamThrottle *throttle);

self :

throttle :


evd_throttled_output_stream_remove_throttle ()

void                evd_throttled_output_stream_remove_throttle
                                                        (EvdThrottledOutputStream *self,
                                                         EvdStreamThrottle *throttle);

self :

throttle :

Signal Details

The "delay-write" signal

void                user_function                      (EvdThrottledOutputStream *evdthrottledoutputstream,
                                                        guint                     arg1,
                                                        gpointer                  user_data)                     : Run Last / Action

evdthrottledoutputstream :

the object which received the signal.

arg1 :

user_data :

user data set when the signal handler was connected.