Panda3D
|
Public Member Functions | |
HttpConnection (SOCKET sck, Socket_Address &inaddr) | |
virtual bool | BuildPage (BufferedWriter_Growable &_writer, ParsedHttpRequest &parser)=0 |
int | DoReadBody (char *message, int buffersize, Time_Clock ¤tTime) |
int | DoReadHeader (char *message, int buffersize, Time_Clock ¤tTime) |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
std::string | GetFullmessage () |
const Socket_Address & | GetMyAddress (void) |
CloseState | ProcessMessage (char *message, Time_Clock ¤tTime) |
int | ReadIt (char *message, int buffersize, Time_Clock ¤tTime) |
void | Reset () |
virtual CloseState | TryAndFinalize () |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. | |
Protected Types | |
enum | STATE_CONNECTIONS { READING_HEADER = 1, READING_POST = 2, WAITING_TO_FINALIZE = 3, WRITING_DATA = 4, ABORTING = 5 } |
Protected Member Functions | |
int | CloseStateWriter (Time_Clock ¤tTime) |
Protected Attributes | |
StrTargetBuffer | _bodyDetail |
std::string | _headerDetail |
Socket_Address | _MyAddress |
ParsedHttpRequest | _parser |
Http_BufferedReader | _Reader |
STATE_CONNECTIONS | _state |
Time_Out | _Timer |
BufferedWriter_Growable | _writer |
Definition at line 12 of file http_connection.h.
static void HttpConnection::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from Socket_TCP.
Reimplemented in Http_Request.
Definition at line 60 of file http_connection.h.