OverSim
PacketBufferEntry Class Reference

#include <realtimescheduler.h>

Public Types

enum  fdCommand { PACKET_DATA = 0, PACKET_FD_NEW = 1, PACKET_FD_CLOSE = 2, PACKET_APPTUN_DATA = 3 }

Public Member Functions

 PacketBufferEntry (char *buf, int32_t len)
 PacketBufferEntry (char *buf, int32_t len, sockaddr *ad, socklen_t al)
 PacketBufferEntry (char *buf, int32_t len, fdCommand fc, int _fd)
 PacketBufferEntry (char *buf, int32_t len, sockaddr *ad, socklen_t al, fdCommand fc, int _fd)

Public Attributes

char * data
int32_t length
sockaddr * addr
socklen_t addrlen
enum PacketBufferEntry::fdCommand func
SOCKET fd

Detailed Description

Definition at line 34 of file realtimescheduler.h.

Member Enumeration Documentation

Enumerator:
PACKET_DATA 
PACKET_FD_NEW 
PACKET_FD_CLOSE 
PACKET_APPTUN_DATA 

Definition at line 40 of file realtimescheduler.h.

Constructor & Destructor Documentation

PacketBufferEntry::PacketBufferEntry ( char *  buf,
int32_t  len 
)
inline

Definition at line 47 of file realtimescheduler.h.

:
data(buf), length(len), addr(0), addrlen(0), func(PACKET_DATA), fd(0) {};
PacketBufferEntry::PacketBufferEntry ( char *  buf,
int32_t  len,
sockaddr *  ad,
socklen_t  al 
)
inline

Definition at line 49 of file realtimescheduler.h.

:
data(buf), length(len), addr(ad), addrlen(al), func(PACKET_DATA), fd(0) {};
PacketBufferEntry::PacketBufferEntry ( char *  buf,
int32_t  len,
fdCommand  fc,
int  _fd 
)
inline

Definition at line 51 of file realtimescheduler.h.

:
data(buf), length(len), addr(0), addrlen(0), func(fc), fd(_fd) {};
PacketBufferEntry::PacketBufferEntry ( char *  buf,
int32_t  len,
sockaddr *  ad,
socklen_t  al,
fdCommand  fc,
int  _fd 
)
inline

Definition at line 53 of file realtimescheduler.h.

:
data(buf), length(len), addr(ad), addrlen(al), func(fc), fd(_fd) {};

Member Data Documentation

sockaddr* PacketBufferEntry::addr

Definition at line 38 of file realtimescheduler.h.

Referenced by RealworldConnector::handleMessage(), XmlRpcInterface::handleMessage(), and SimpleGameClient::handleTimerEvent().

socklen_t PacketBufferEntry::addrlen

Definition at line 39 of file realtimescheduler.h.

Referenced by RealworldConnector::handleMessage().

char* PacketBufferEntry::data

Definition at line 36 of file realtimescheduler.h.

Referenced by RealworldConnector::handleMessage(), XmlRpcInterface::handleMessage(), and SimpleGameClient::handleTimerEvent().

SOCKET PacketBufferEntry::fd

Definition at line 46 of file realtimescheduler.h.

Referenced by XmlRpcInterface::handleMessage(), and SimpleGameClient::handleTimerEvent().

enum PacketBufferEntry::fdCommand PacketBufferEntry::func

Referenced by XmlRpcInterface::handleMessage(), and SimpleGameClient::handleTimerEvent().

int32_t PacketBufferEntry::length

Definition at line 37 of file realtimescheduler.h.

Referenced by RealworldConnector::handleMessage(), XmlRpcInterface::handleMessage(), and SimpleGameClient::handleTimerEvent().


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