All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Macros | Functions
as_async.h File Reference
#include <aerospike/as_async_proto.h>
#include <aerospike/as_cluster.h>
#include <aerospike/as_event_internal.h>
#include <aerospike/as_listener.h>
#include <citrusleaf/alloc.h>
+ Include dependency graph for as_async.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  as_async_record_command
 
struct  as_async_value_command
 
struct  as_async_write_command
 

Macros

#define AS_ASYNC_CONNECTION_COMPLETE   0
 
#define AS_ASYNC_CONNECTION_ERROR   2
 
#define AS_ASYNC_CONNECTION_PENDING   1
 
#define AS_ASYNC_TYPE_BATCH   3
 
#define AS_ASYNC_TYPE_MASK   7
 
#define AS_ASYNC_TYPE_QUERY   5
 
#define AS_ASYNC_TYPE_RECORD   1
 
#define AS_ASYNC_TYPE_REGISTERED   128
 
#define AS_ASYNC_TYPE_SCAN   4
 
#define AS_ASYNC_TYPE_VALUE   2
 
#define AS_ASYNC_TYPE_WRITE   0
 
#define AS_AUTHENTICATION_MAX_SIZE   158
 

Functions

static as_event_commandas_async_record_command_create (as_cluster *cluster, as_node *node, uint32_t timeout_ms, bool deserialize, as_async_record_listener listener, void *udata, as_event_loop *event_loop, as_pipe_listener pipe_listener, size_t size, as_event_parse_results_fn parse_results)
 
static as_event_commandas_async_value_command_create (as_cluster *cluster, as_node *node, uint32_t timeout_ms, bool deserialize, as_async_value_listener listener, void *udata, as_event_loop *event_loop, as_pipe_listener pipe_listener, size_t size, as_event_parse_results_fn parse_results)
 
static as_event_commandas_async_write_command_create (as_cluster *cluster, as_node *node, uint32_t timeout_ms, bool deserialize, as_async_write_listener listener, void *udata, as_event_loop *event_loop, as_pipe_listener pipe_listener, size_t size, as_event_parse_results_fn parse_results)
 

Macro Definition Documentation

#define AS_ASYNC_CONNECTION_COMPLETE   0

Definition at line 44 of file as_async.h.

#define AS_ASYNC_CONNECTION_ERROR   2

Definition at line 46 of file as_async.h.

#define AS_ASYNC_CONNECTION_PENDING   1

Definition at line 45 of file as_async.h.

#define AS_ASYNC_TYPE_BATCH   3

Definition at line 36 of file as_async.h.

#define AS_ASYNC_TYPE_MASK   7

Definition at line 39 of file as_async.h.

#define AS_ASYNC_TYPE_QUERY   5

Definition at line 38 of file as_async.h.

#define AS_ASYNC_TYPE_RECORD   1

Definition at line 34 of file as_async.h.

#define AS_ASYNC_TYPE_REGISTERED   128

Definition at line 40 of file as_async.h.

#define AS_ASYNC_TYPE_SCAN   4

Definition at line 37 of file as_async.h.

#define AS_ASYNC_TYPE_VALUE   2

Definition at line 35 of file as_async.h.

#define AS_ASYNC_TYPE_WRITE   0

Definition at line 33 of file as_async.h.

#define AS_AUTHENTICATION_MAX_SIZE   158

Definition at line 42 of file as_async.h.

Function Documentation

static as_event_command* as_async_record_command_create ( as_cluster cluster,
as_node node,
uint32_t  timeout_ms,
bool  deserialize,
as_async_record_listener  listener,
void *  udata,
as_event_loop event_loop,
as_pipe_listener  pipe_listener,
size_t  size,
as_event_parse_results_fn  parse_results 
)
inlinestatic
static as_event_command* as_async_value_command_create ( as_cluster cluster,
as_node node,
uint32_t  timeout_ms,
bool  deserialize,
as_async_value_listener  listener,
void *  udata,
as_event_loop event_loop,
as_pipe_listener  pipe_listener,
size_t  size,
as_event_parse_results_fn  parse_results 
)
inlinestatic
static as_event_command* as_async_write_command_create ( as_cluster cluster,
as_node node,
uint32_t  timeout_ms,
bool  deserialize,
as_async_write_listener  listener,
void *  udata,
as_event_loop event_loop,
as_pipe_listener  pipe_listener,
size_t  size,
as_event_parse_results_fn  parse_results 
)
inlinestatic