Support Forum       G3D Web Page     
Classes | Namespaces | Typedefs | Functions
network.h File Reference

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License. More...

Classes

class  G3D::NetConnection
 A network connection between two machines that can send and receive messages. More...
 
class  G3D::NetConnectionIterator
 Note that it is not possible to construct a NetConnectionIterator (since nothing good could happen with it), so this must be initialized with a reference, e.g.,. More...
 
class  G3D::NetMessageIterator
 Iterates through new messages on a NetConnection. More...
 
class  G3D::NetSendConnection
 
Base class for NetConnection that provides only the sending functionality. More...
 
class  G3D::NetServer
 
Manages connections for a machine that accepts incoming ones. More...
 
class  G3D::_internal::NetworkCallbackInfo
 Information about a memory block that needs to be deallocated on the thread that next makes a call to this connection. More...
 

Namespaces

 G3D
 
 G3D::_internal
 

Typedefs

typedef uint32 G3D::NetChannel
 Messages sent on different channels are asynchronous. More...
 
typedef uint32 G3D::NetMessageType
 
Application defined message type. More...
 

Functions

RealTime G3D::networkCommunicationInterval ()
 
unsigned int G3D::networkSendBacklog ()
 Return the number of network transactions pending across all NetSendConnections. More...
 
void G3D::serviceNetwork ()
 If NOT using G3D's internal threaded networking, you must invoke this periodically to service the receiving side network connections. More...
 
void G3D::serviceNetworkSender (const G3D::NetChannel &channel)
 If NOT using G3D's internal threaded networking, you must invoke this periodically to service the sending side network connections. More...
 
void G3D::setNetworkCommunicationInterval (const RealTime t)
 
This is the amount of time G3D will pause the network thread to perform network communication, in seconds (default is 0s). More...
 

Detailed Description

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License.


documentation generated on Wed Nov 24 2021 08:01:51 using doxygen 1.8.15