当前位置: 首页>>代码示例>>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;未经允许,请勿转载。