MilterSessionResult
3
milter managerライブラリ

# MilterSessionResult

## Functions

MilterSessionResult * | milter_session_result_new ()
void | milter_session_result_start ()
void | milter_session_result_stop ()
GList * | milter_session_result_get_message_results ()
void | milter_session_result_set_message_results ()
void | milter_session_result_add_message_result ()
void | milter_session_result_remove_message_result ()
gboolean | milter_session_result_is_disconnected ()
void | milter_session_result_set_disconnected ()
GTimeVal * | milter_session_result_get_start_time ()
void | milter_session_result_set_start_time ()
GTimeVal * | milter_session_result_get_end_time ()
void | milter_session_result_set_end_time ()
gdouble | milter_session_result_get_elapsed_time ()
void | milter_session_result_set_elapsed_time ()

## プロパティ

gboolean | disconnected | Read / Write
gdouble | elapsed-time | Read / Write

## オブジェクト階層

        GObject
        ╰── MilterSessionResult

## 説明

## Functions

### milter_session_result_new ()

    MilterSessionResult *
    milter_session_result_new (void);

### milter_session_result_start ()

    void
    milter_session_result_start (MilterSessionResult *result);

### milter_session_result_stop ()

    void
    milter_session_result_stop (MilterSessionResult *result);

### milter_session_result_get_message_results ()

    GList *
    milter_session_result_get_message_results
                                   (MilterSessionResult *result);

### milter_session_result_set_message_results ()

    void
    milter_session_result_set_message_results
                                   (MilterSessionResult *result,
                                    const GList *message_results);

### milter_session_result_add_message_result ()

    void
    milter_session_result_add_message_result
                                   (MilterSessionResult *result,
                                    MilterMessageResult *message_result);

### milter_session_result_remove_message_result ()

    void
    milter_session_result_remove_message_result
                                   (MilterSessionResult *result,
                                    MilterMessageResult *message_result);

### milter_session_result_is_disconnected ()

    gboolean
    milter_session_result_is_disconnected (MilterSessionResult *result);

### milter_session_result_set_disconnected ()

    void
    milter_session_result_set_disconnected
                                   (MilterSessionResult *result,
                                    gboolean disconnected);

### milter_session_result_get_start_time ()

    GTimeVal *
    milter_session_result_get_start_time (MilterSessionResult *result);

### milter_session_result_set_start_time ()

    void
    milter_session_result_set_start_time (MilterSessionResult *result,
                                          GTimeVal *time);

### milter_session_result_get_end_time ()

    GTimeVal *
    milter_session_result_get_end_time (MilterSessionResult *result);

### milter_session_result_set_end_time ()

    void
    milter_session_result_set_end_time (MilterSessionResult *result,
                                        GTimeVal *time);

### milter_session_result_get_elapsed_time ()

    gdouble
    milter_session_result_get_elapsed_time
                                   (MilterSessionResult *result);

### milter_session_result_set_elapsed_time ()

    void
    milter_session_result_set_elapsed_time
                                   (MilterSessionResult *result,
                                    gdouble elapsed_time);

## Types and Values

## プロパティ詳細

### The `“disconnected”` property

      “disconnected”             gboolean

Whether disconnected the connection from peer.

Flags: Read / Write

Default value: FALSE

### The `“elapsed-time”` property

      “elapsed-time”             gdouble

The elapsed time of the session.

Flags: Read / Write

Allowed values: >= 0

デフォルト値: 0