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
double | elapsed-time | Read / Write

## オブジェクト階層

    GObject
        ╰── MilterSessionResult

## 説明

## Functions

### milter_session_result_new ()

    MilterSessionResult *
    milter_session_result_new (void);

milter_session_result_new

### milter_session_result_start ()

    void
    milter_session_result_start (MilterSessionResult *result);

milter_session_result_start

### milter_session_result_stop ()

    void
    milter_session_result_stop (MilterSessionResult *result);

milter_session_result_stop

### milter_session_result_get_message_results ()

    GList *
    milter_session_result_get_message_results
                                   (MilterSessionResult *result);

#### Parameters

result | A MilterSessionResult. |

#### Returns

Message results.

[transfer none][element-type MilterMessageResult]

milter_session_result_get_message_results

### milter_session_result_set_message_results ()

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

Set message results.

#### Parameters

result | A MilterSessionResult. |
message_results | A list of MilterMessageResult. | [element-type MilterMessageResult]

milter_session_result_set_message_results

### milter_session_result_add_message_result ()

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

milter_session_result_add_message_result

### milter_session_result_remove_message_result ()

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

milter_session_result_remove_message_result

### milter_session_result_is_disconnected ()

    gboolean
    milter_session_result_is_disconnected (MilterSessionResult *result);

milter_session_result_is_disconnected

### milter_session_result_set_disconnected ()

    void
    milter_session_result_set_disconnected
                                   (MilterSessionResult *result,
                                    gboolean disconnected);

milter_session_result_set_disconnected

### milter_session_result_get_start_time ()

    GTimeVal *
    milter_session_result_get_start_time (MilterSessionResult *result);

[skip]

#### Parameters

result | A MilterSessionResult. |

#### Returns

The start time of the result.

milter_session_result_get_start_time

### milter_session_result_set_start_time ()

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

milter_session_result_set_start_time

### milter_session_result_get_end_time ()

    GTimeVal *
    milter_session_result_get_end_time (MilterSessionResult *result);

[skip]

#### Parameters

result | A MilterSessionResult. |

#### Returns

The end time of the result.

milter_session_result_get_end_time

### milter_session_result_set_end_time ()

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

milter_session_result_set_end_time

### milter_session_result_get_elapsed_time ()

    gdouble
    milter_session_result_get_elapsed_time
                                   (MilterSessionResult *result);

milter_session_result_get_elapsed_time

### milter_session_result_set_elapsed_time ()

    void
    milter_session_result_set_elapsed_time
                                   (MilterSessionResult *result,
                                    gdouble elapsed_time);

milter_session_result_set_elapsed_time

## プロパティ詳細

### The `“disconnected”` property

    “disconnected”             gboolean

Whether disconnected the connection from peer.

Owner: MilterSessionResult

Flags: Read / Write

Default value: FALSE

MilterSessionResult:disconnected

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

    “elapsed-time”             double

The elapsed time of the session.

Owner: MilterSessionResult

Flags: Read / Write

Allowed values: >= 0

デフォルト値: 0

MilterSessionResult:elapsed-time