gio-2.0 Reference Manual

Synopsis

public class SimpleAsyncResult : Object, AsyncResult  {
    public                              SimpleAsyncResult         ( Object              source_object,
                                                                    AsyncReadyCallback  callback,
                                                                    void**              source_tag ) ;
    public                              SimpleAsyncResult.error   ( Object              source_object,
                                                                    AsyncReadyCallback  callback,
                                                                    Quark               domain,
                                                                    int                 code,
                                                                    string              format ) ;
    public                              SimpleAsyncResult.from_error ( Object              source_object,
                                                                    AsyncReadyCallback  callback,
                                                                    GLib.Error          error ) ;


    public    void                      complete                  (  ) ;
    public    void                      complete_in_idle          (  ) ;
    public    bool                      get_op_res_gboolean       (  ) ;
    public    void**                    get_op_res_gpointer       (  ) ;
    public    long                      get_op_res_gssize         (  ) ;
    public    void**                    get_source_tag            (  ) ;
    public    bool                      propagate_error           (  ) 
                                                             throws GLib.Error;
    public    void                      run_in_thread             ( SimpleAsyncThreadFunc func,
                                                                    int                 io_priority,
                                                                    Cancellable?        cancellable ) ;
    public    void                      set_error                 ( Quark               domain,
                                                                    int                 code,
                                                                    string              format ) ;
    public    void                      set_error_va              ( Quark               domain,
                                                                    int                 code,
                                                                    string              format,
                                                                    void**              args ) ;
    public    void                      set_from_error            ( GLib.Error          error ) ;
    public    void                      set_handle_cancellation   ( bool                handle_cancellation ) ;
    public    void                      set_op_res_gboolean       ( bool                op_res ) ;
    public    void                      set_op_res_gpointer       ( void**              op_res,
                                                                    DestroyNotify       destroy_op_res ) ;
    public    void                      set_op_res_gssize         ( long                op_res ) ;
}

SimpleAsyncResult Description

Details

Constructor Details

SimpleAsyncResult ()
    public                              SimpleAsyncResult         ( Object              source_object,
                                                                    AsyncReadyCallback  callback,
                                                                    void**              source_tag ) ;		

SimpleAsyncResult.error ()
    public                              SimpleAsyncResult.error   ( Object              source_object,
                                                                    AsyncReadyCallback  callback,
                                                                    Quark               domain,
                                                                    int                 code,
                                                                    string              format ) ;		

SimpleAsyncResult.from_error ()
    public                              SimpleAsyncResult.from_error ( Object              source_object,
                                                                    AsyncReadyCallback  callback,
                                                                    GLib.Error          error ) ;		

Field Details

Signal Details

Property Details

Method Details

complete ()
    public    void                      complete                  (  ) ;		

complete_in_idle ()
    public    void                      complete_in_idle          (  ) ;		

get_op_res_gboolean ()
    public    bool                      get_op_res_gboolean       (  ) ;		

get_op_res_gpointer ()
    public    void**                    get_op_res_gpointer       (  ) ;		

get_op_res_gssize ()
    public    long                      get_op_res_gssize         (  ) ;		

get_source_tag ()
    public    void**                    get_source_tag            (  ) ;		

propagate_error ()
    public    bool                      propagate_error           (  ) 
                                                             throws GLib.Error;		

run_in_thread ()
    public    void                      run_in_thread             ( SimpleAsyncThreadFunc func,
                                                                    int                 io_priority,
                                                                    Cancellable?        cancellable ) ;		

set_error ()
    public    void                      set_error                 ( Quark               domain,
                                                                    int                 code,
                                                                    string              format ) ;		

set_error_va ()
    public    void                      set_error_va              ( Quark               domain,
                                                                    int                 code,
                                                                    string              format,
                                                                    void**              args ) ;		

set_from_error ()
    public    void                      set_from_error            ( GLib.Error          error ) ;		

set_handle_cancellation ()
    public    void                      set_handle_cancellation   ( bool                handle_cancellation ) ;		

set_op_res_gboolean ()
    public    void                      set_op_res_gboolean       ( bool                op_res ) ;		

set_op_res_gpointer ()
    public    void                      set_op_res_gpointer       ( void**              op_res,
                                                                    DestroyNotify       destroy_op_res ) ;		

set_op_res_gssize ()
    public    void                      set_op_res_gssize         ( long                op_res ) ;		


Created by Valadoc