Public Types | Public Member Functions | Data Fields

ObjectReloadCont Class Reference

#include <Update.h>

Inherits Continuation.

Collaboration diagram for ObjectReloadCont:
Collaboration graph
[legend]

Public Types

enum  state_t { START = 1, ATTEMPT_CONNECT, WRITING_URL, READING_DATA }

Public Member Functions

 ObjectReloadCont ()
 ~ObjectReloadCont ()
void Init (Continuation *, char *, int, char *, int, int, int)
void free ()
int ObjectReloadEvent (int, void *)
int CallBackUser (int, void *)

Data Fields

Continuation_caller_cont
int _request_id
MIOBuffer_send_data
MIOBuffer_receive_data
IOBufferReader_receive_data_reader
Event_start_event
state_t _state
Action_cur_action
class NetVConnection_netvc
VIO_write_vio
VIO_read_vio
int _read_event_callback

Detailed Description

Definition at line 490 of file Update.h.


Member Enumeration Documentation

Enumerator:
START 
ATTEMPT_CONNECT 
WRITING_URL 
READING_DATA 

Definition at line 500 of file Update.h.


Constructor & Destructor Documentation

ObjectReloadCont::ObjectReloadCont (  ) 

Definition at line 2464 of file Update.cc.

References ObjectReloadEvent(), and SET_HANDLER.

ObjectReloadCont::~ObjectReloadCont (  ) 

Definition at line 2472 of file Update.cc.


Member Function Documentation

int ObjectReloadCont::CallBackUser ( int  event,
void *  d 
)

Definition at line 2651 of file Update.cc.

References _caller_cont, and Continuation::handleEvent().

Referenced by ObjectReloadEvent().

void ObjectReloadCont::free ( void   ) 

Definition at line 2529 of file Update.cc.

References _receive_data, _send_data, free_MIOBuffer(), and Continuation::mutex.

Referenced by ObjectReloadEvent().

void ObjectReloadCont::Init ( Continuation cont,
char *  url,
int  url_len,
char *  headers,
int  headers_len,
int  http_case,
int  read_event_callback 
)
int ObjectReloadCont::ObjectReloadEvent ( int  event,
void *  d 
)

Field Documentation

Definition at line 508 of file Update.h.

Referenced by CallBackUser(), Init(), and ObjectReloadEvent().

Definition at line 515 of file Update.h.

Referenced by ObjectReloadEvent().

Definition at line 516 of file Update.h.

Referenced by ObjectReloadEvent().

Definition at line 519 of file Update.h.

Referenced by Init(), and ObjectReloadEvent().

Definition at line 518 of file Update.h.

Referenced by ObjectReloadEvent().

Definition at line 511 of file Update.h.

Referenced by free(), and ObjectReloadEvent().

Definition at line 512 of file Update.h.

Referenced by ObjectReloadEvent().

Definition at line 509 of file Update.h.

Referenced by Init(), and ObjectReloadEvent().

Definition at line 510 of file Update.h.

Referenced by free(), Init(), and ObjectReloadEvent().

Definition at line 513 of file Update.h.

Definition at line 514 of file Update.h.

Referenced by ObjectReloadEvent().

Definition at line 517 of file Update.h.

Referenced by ObjectReloadEvent().


The documentation for this class was generated from the following files: