當前位置: 首頁>>代碼示例>>C++>>正文


C++ CCNET_PROCESSOR_CLASS函數代碼示例

本文整理匯總了C++中CCNET_PROCESSOR_CLASS函數的典型用法代碼示例。如果您正苦於以下問題:C++ CCNET_PROCESSOR_CLASS函數的具體用法?C++ CCNET_PROCESSOR_CLASS怎麽用?C++ CCNET_PROCESSOR_CLASS使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了CCNET_PROCESSOR_CLASS函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C++代碼示例。

示例1: release_resource

static void
release_resource(CcnetProcessor *processor)
{
    /* FILL IT */

    CCNET_PROCESSOR_CLASS (ccnet_sendlogout_proc_parent_class)->release_resource (processor);
}
開發者ID:andrey-str,項目名稱:ccnet,代碼行數:7,代碼來源:sendlogout-proc.c

示例2: release_resource

static void
release_resource(CcnetProcessor *processor)
{
    /* FILL IT */

    CCNET_PROCESSOR_CLASS (seafile_notifysync_slave_proc_parent_class)->release_resource (processor);
}
開發者ID:90songjian,項目名稱:seafile,代碼行數:7,代碼來源:notifysync-slave-proc.c

示例3: release_resource

static void
release_resource (CcnetProcessor *processor)
{
    release_thread (processor);

    CCNET_PROCESSOR_CLASS(seafile_recvblock_v2_proc_parent_class)->release_resource (processor);
}
開發者ID:Buzer,項目名稱:seafile,代碼行數:7,代碼來源:recvblock-v2-proc.c

示例4: release_resource

static void
release_resource(CcnetProcessor *processor)
{
    USE_PRIV;

    if (priv->fs_objects)
        g_hash_table_destroy (priv->fs_objects);

    string_list_free (priv->fs_roots);

    g_queue_foreach (priv->dir_queue, free_dir_id, NULL);
    g_queue_free (priv->dir_queue);

    g_free (priv->obj_seg);

    if (priv->registered) {
        seaf_obj_store_unregister_async_read (seaf->fs_mgr->obj_store,
                                              priv->reader_id);
        seaf_obj_store_unregister_async_write (seaf->fs_mgr->obj_store,
                                               priv->writer_id);
        seaf_obj_store_unregister_async_stat (seaf->fs_mgr->obj_store,
                                              priv->stat_id);
    }

    CCNET_PROCESSOR_CLASS (seafile_recvfs_proc_parent_class)->release_resource (processor);
}
開發者ID:yiqifu,項目名稱:seafile,代碼行數:26,代碼來源:recvfs-proc.c

示例5: release_resource

static void
release_resource(CcnetProcessor *processor)
{
    processor->peer->keepalive_sending = 0;
    
    /* should always chain up */
    CCNET_PROCESSOR_CLASS(ccnet_keepalive_proc_parent_class)->release_resource (processor);
}
開發者ID:9thsector,項目名稱:ccnet,代碼行數:8,代碼來源:keepalive-proc.c

示例6: seafile_sync_repo_slave_proc_class_init

static void
seafile_sync_repo_slave_proc_class_init (SeafileSynRepoSlaveProcClass *klass)
{
    CcnetProcessorClass *proc_class = CCNET_PROCESSOR_CLASS (klass);

    proc_class->name = "seafile-sync-repo-slave-proc";
    proc_class->start = sync_repo_slave_start;
}
開發者ID:2bj,項目名稱:seafile,代碼行數:8,代碼來源:sync-repo-slave-proc.c

示例7: seafile_getcommit_v2_proc_class_init

static void
seafile_getcommit_v2_proc_class_init (SeafileGetcommitV2ProcClass *klass)
{
    CcnetProcessorClass *proc_class = CCNET_PROCESSOR_CLASS (klass);

    proc_class->name = "getcommit-proc-v2";
    proc_class->start = get_commit_start;
    proc_class->handle_response = handle_response;
}
開發者ID:roccen,項目名稱:seafile,代碼行數:9,代碼來源:getcommit-v2-proc.c

示例8: seafile_sendcommit_proc_class_init

static void
seafile_sendcommit_proc_class_init (SeafileSendcommitProcClass *klass)
{
    CcnetProcessorClass *proc_class = CCNET_PROCESSOR_CLASS (klass);

    proc_class->name = "sendcommit-proc";
    proc_class->start = send_commit_start;
    proc_class->handle_response = handle_response;
}
開發者ID:airbai,項目名稱:seafile,代碼行數:9,代碼來源:sendcommit-proc.c

示例9: release_resource

static void
release_resource(CcnetProcessor *processor)
{
    CcnetSendmsgProcPriv *priv = GET_PRIV (processor);

    ccnet_message_unref (priv->message);

    CCNET_PROCESSOR_CLASS (ccnet_sendmsg_proc_parent_class)->release_resource (processor);
}
開發者ID:9thsector,項目名稱:ccnet,代碼行數:9,代碼來源:sendmsg-proc.c

示例10: seafile_sync_repo_proc_class_init

static void
seafile_sync_repo_proc_class_init (SeafileSyncRepoProcClass *klass)
{
    CcnetProcessorClass *proc_class = CCNET_PROCESSOR_CLASS (klass);

    proc_class->name = "seafile-sync-repo";
    proc_class->start = sync_repo_start;
    proc_class->handle_response = handle_response;
}
開發者ID:2bj,項目名稱:seafile,代碼行數:9,代碼來源:sync-repo-proc.c

示例11: ccnet_rcvmsg_proc_class_init

static void
ccnet_rcvmsg_proc_class_init (CcnetRcvmsgProcClass *klass)
{
    CcnetProcessorClass *proc_class = CCNET_PROCESSOR_CLASS (klass);

    proc_class->name = "rcvmsg-proc";
    proc_class->start = rcv_msg_start;
    proc_class->handle_update = handle_update;
}
開發者ID:andrey-str,項目名稱:ccnet,代碼行數:9,代碼來源:rcvmsg-proc.c

示例12: release_resource

static void
release_resource(CcnetProcessor *processor)
{
    USE_PRIV;
    g_queue_free (priv->inspect_queue);
    g_hash_table_destroy (priv->fs_objects);
    g_free (priv->obj_seg);

    CCNET_PROCESSOR_CLASS (seafile_getfs_proc_parent_class)->release_resource (processor);
}
開發者ID:AzinmarErus,項目名稱:seafile,代碼行數:10,代碼來源:getfs-proc.c

示例13: seafile_notifysync_slave_proc_class_init

static void
seafile_notifysync_slave_proc_class_init (SeafileNotifysyncSlaveProcClass *klass)
{
    CcnetProcessorClass *proc_class = CCNET_PROCESSOR_CLASS (klass);

    proc_class->name = "seafile-notifysync-slave";
    proc_class->start = start;
    proc_class->handle_response = handle_response;
    proc_class->release_resource = release_resource;
}
開發者ID:90songjian,項目名稱:seafile,代碼行數:10,代碼來源:notifysync-slave-proc.c

示例14: seafile_putfs_proc_class_init

static void
seafile_putfs_proc_class_init (SeafilePutfsProcClass *klass)
{
    CcnetProcessorClass *proc_class = CCNET_PROCESSOR_CLASS (klass);

    proc_class->name = "putfs-proc";
    proc_class->start = start;
    proc_class->handle_update = handle_update;
    proc_class->release_resource = release_resource;
}
開發者ID:airbai,項目名稱:seafile,代碼行數:10,代碼來源:putfs-proc.c

示例15: ccnet_sendlogout_proc_class_init

static void
ccnet_sendlogout_proc_class_init (CcnetSendlogoutProcClass *klass)
{
    CcnetProcessorClass *proc_class = CCNET_PROCESSOR_CLASS (klass);

    proc_class->name = "sendlogout-proc";
    proc_class->start = start;
    proc_class->handle_response = handle_response;
    proc_class->release_resource = release_resource;
}
開發者ID:andrey-str,項目名稱:ccnet,代碼行數:10,代碼來源:sendlogout-proc.c


注:本文中的CCNET_PROCESSOR_CLASS函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。