本文整理匯總了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);
}
示例2: release_resource
static void
release_resource(CcnetProcessor *processor)
{
/* FILL IT */
CCNET_PROCESSOR_CLASS (seafile_notifysync_slave_proc_parent_class)->release_resource (processor);
}
示例3: release_resource
static void
release_resource (CcnetProcessor *processor)
{
release_thread (processor);
CCNET_PROCESSOR_CLASS(seafile_recvblock_v2_proc_parent_class)->release_resource (processor);
}
示例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);
}
示例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);
}
示例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;
}
示例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;
}
示例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;
}
示例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);
}
示例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;
}
示例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;
}
示例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);
}
示例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;
}
示例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;
}
示例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;
}