EvdThrottledOutputStream

EvdThrottledOutputStream

Synopsis

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

Object Hierarchy

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

Signals

  "delay-write"                                    : Action

Description

Details

struct EvdThrottledOutputStream

struct EvdThrottledOutputStream;


struct EvdThrottledOutputStreamClass

struct EvdThrottledOutputStreamClass {
  GFilterOutputStreamClass parent_class;

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


evd_throttled_output_stream_add_throttle ()

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


evd_throttled_output_stream_get_max_writable ()

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


evd_throttled_output_stream_new ()

EvdThrottledOutputStream * evd_throttled_output_stream_new
                                                        (GOutputStream *base_stream);


evd_throttled_output_stream_remove_throttle ()

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

Signal Details

The "delay-write" signal

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

evdthrottledoutputstream :

the object which received the signal.

user_data :

user data set when the signal handler was connected.