GRPC Core  0.11.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Typedefs | Enumerations | Functions
endpoint.h File Reference
#include "src/core/iomgr/pollset.h"
#include "src/core/iomgr/pollset_set.h"
#include <grpc/support/slice.h>
#include <grpc/support/slice_buffer.h>
#include <grpc/support/time.h>

Go to the source code of this file.

Data Structures

struct  grpc_endpoint_vtable
 
struct  grpc_endpoint
 

Typedefs

typedef struct grpc_endpoint grpc_endpoint
 
typedef struct grpc_endpoint_vtable grpc_endpoint_vtable
 
typedef enum
grpc_endpoint_op_status 
grpc_endpoint_op_status
 

Enumerations

enum  grpc_endpoint_op_status { GRPC_ENDPOINT_DONE, GRPC_ENDPOINT_PENDING, GRPC_ENDPOINT_ERROR }
 

Functions

grpc_endpoint_op_status grpc_endpoint_read (grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb) GRPC_MUST_USE_RESULT
 
char * grpc_endpoint_get_peer (grpc_endpoint *ep)
 
grpc_endpoint_op_status grpc_endpoint_write (grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb) GRPC_MUST_USE_RESULT
 
void grpc_endpoint_shutdown (grpc_endpoint *ep)
 
void grpc_endpoint_destroy (grpc_endpoint *ep)
 
void grpc_endpoint_add_to_pollset (grpc_endpoint *ep, grpc_pollset *pollset)
 
void grpc_endpoint_add_to_pollset_set (grpc_endpoint *ep, grpc_pollset_set *pollset_set)
 

Typedef Documentation

typedef struct grpc_endpoint grpc_endpoint

Enumeration Type Documentation

Enumerator
GRPC_ENDPOINT_DONE 
GRPC_ENDPOINT_PENDING 
GRPC_ENDPOINT_ERROR 

Function Documentation

void grpc_endpoint_add_to_pollset ( grpc_endpoint ep,
grpc_pollset pollset 
)
void grpc_endpoint_add_to_pollset_set ( grpc_endpoint ep,
grpc_pollset_set pollset_set 
)
void grpc_endpoint_destroy ( grpc_endpoint ep)
char* grpc_endpoint_get_peer ( grpc_endpoint ep)
grpc_endpoint_op_status grpc_endpoint_read ( grpc_endpoint ep,
gpr_slice_buffer slices,
grpc_iomgr_closure cb 
)
void grpc_endpoint_shutdown ( grpc_endpoint ep)
grpc_endpoint_op_status grpc_endpoint_write ( grpc_endpoint ep,
gpr_slice_buffer slices,
grpc_iomgr_closure cb 
)