Skip to content

File network_callback_sr.hpp

FileList > communication > network_callback_sr.hpp

Go to the source code of this file

  • #include <queue>
  • #include <functional>
  • #include "error_code.h"
  • #include "thread_compat.hpp"
  • #include "mem_block.hpp"
  • #include "packer.hpp"

Public Types

Type Name
typedef std::function< int(cubmem::block &)> xs_callback_func

Public Functions

Type Name
cubmem::extensible_block pack_data (Args &&... args)
cubmem::block pack_data_block (Args &&... args)
int xs_callback_receive (cubthread::entry * thread_p, const xs_callback_func & func)
int xs_callback_send (cubthread::entry * thread_p, const cubmem::extensible_block & mem)
int xs_callback_send_and_receive (cubthread::entry * thread_p, const xs_callback_func & func, Args &&... args)
int xs_callback_send_args (cubthread::entry * thread_p, Args &&... args)
int xs_callback_send_no_receive (cubthread::entry * thread_p, Args &&... args)

Public Types Documentation

typedef xs_callback_func

using xs_callback_func =  std::function <int (cubmem::block &)>;

Public Functions Documentation

function pack_data

template<typename ... Args>
cubmem::extensible_block pack_data (
    Args &&... args
) 

function pack_data_block

template<typename ... Args>
cubmem::block pack_data_block (
    Args &&... args
) 

function xs_callback_receive

int xs_callback_receive (
    cubthread::entry * thread_p,
    const  xs_callback_func & func
) 

function xs_callback_send

int xs_callback_send (
    cubthread::entry * thread_p,
    const  cubmem::extensible_block & mem
) 

function xs_callback_send_and_receive

template<typename ... Args>
int xs_callback_send_and_receive (
    cubthread::entry * thread_p,
    const  xs_callback_func & func,
    Args &&... args
) 

function xs_callback_send_args

template<typename ... Args>
int xs_callback_send_args (
    cubthread::entry * thread_p,
    Args &&... args
) 

function xs_callback_send_no_receive

template<typename ... Args>
int xs_callback_send_no_receive (
    cubthread::entry * thread_p,
    Args &&... args
) 


The documentation for this class was generated from the following file cubrid/src/communication/network_callback_sr.hpp