|
|
|
List of all members.
Classes |
| struct | AddressQueue |
Public Member Functions |
| | Buffered_DatagramConnection (int rbufsize, int wbufsize, int write_flush_point) |
| | Return type : inline Argument : bool do_blocking_writes Argument : int rbufsize Argument : int wbufsize.
|
| virtual | ~Buffered_DatagramConnection (void) |
| | Return type : inline Argument : void.
|
| void | AddAddress (Socket_Address &inadr) |
| | must be called to set value to the server
|
|
size_t | AddressQueueSize () |
|
void | ClearAddresses (void) |
|
bool | DoConnect (void) |
| bool | Flush (void) |
| | flush all wrightes
|
|
virtual TypeHandle | force_init_type () |
|
virtual TypeHandle | get_type () const |
| bool | GetMessage (Datagram &val) |
| | read a message
|
|
bool | IsConnected (void) |
| void | Reset (void) |
| | Reset.
|
| bool | SendMessage (const Datagram &msg) |
| | send the message
|
|
void | WaitForNetworkReadEvent (PN_stdfloat MaxTime) |
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 Member Functions |
| void | ClearAll (void) |
| | used to do a full reset of buffers
|
|
virtual void | NewWriteBuffer (void) |
|
virtual void | PostConnect (void) |
|
bool | SendMessageBufferOnly (Datagram &msg) |
Friends |
|
class | Buffered_DatagramReader |
|
class | Buffered_DatagramWriter |
Detailed Description
Constructor & Destructor Documentation
| Buffered_DatagramConnection::Buffered_DatagramConnection |
( |
int |
rbufsize, |
|
|
int |
wbufsize, |
|
|
int |
write_flush_point |
|
) |
| [inline] |
Return type : inline Argument : bool do_blocking_writes Argument : int rbufsize Argument : int wbufsize.
Definition at line 221 of file buffered_datagramconnection.h.
| * Buffered_DatagramConnection::~Buffered_DatagramConnection |
( |
void |
| ) |
[inline, virtual] |
Member Function Documentation
| void Buffered_DatagramConnection::AddAddress |
( |
Socket_Address & |
inadr | ) |
[inline] |
| void Buffered_DatagramConnection::ClearAll |
( |
void |
| ) |
[inline, protected] |
| bool Buffered_DatagramConnection::Flush |
( |
void |
| ) |
[inline] |
| bool Buffered_DatagramConnection::GetMessage |
( |
Datagram & |
val | ) |
[inline] |
| static void Buffered_DatagramConnection::init_type |
( |
| ) |
[inline, static] |
| void Buffered_DatagramConnection::Reset |
( |
void |
| ) |
[inline] |
| bool Buffered_DatagramConnection::SendMessage |
( |
const Datagram & |
msg | ) |
[inline] |
The documentation for this class was generated from the following files:
| | |