8 #ifndef _UWSGI_THRIFT_TRANSPORT_H_
9 #define _UWSGI_THRIFT_TRANSPORT_H_
11 #include <thrift/transport/TVirtualTransport.h>
22 uint32_t
read(uint8_t* data, int32_t size) {
return m_uwsgi_obj->read((
char*)data, size); }
24 void write(
const uint8_t* data, uint32_t size) {
m_uwsgi_obj->write((
const char*)data, size); }
35 #endif // _UWSGI_THRIFT_TRANSPORT_H_
~uwsgi_thrift_transport()
uint32_t read(uint8_t *data, int32_t size)
void write(const uint8_t *data, uint32_t size)
uwsgi_thrift_transport(T *r)