VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes

Encapsulates a packet which is to be either received or transmitted over the network by the DtAsyncSocket class. More...

+ Collaboration diagram for DtAsyncSocketPacket:

Public Member Functions

 DtAsyncSocketPacket ()
 DtAsyncSocketPacket (int size, const char *data, DtIpv4Addr addr=0)
 DtAsyncSocketPacket (const DtAsyncSocketPacket &other)
virtual ~DtAsyncSocketPacket ()
DtAsyncSocketPacketoperator= (const DtAsyncSocketPacket &other)
size_t size () const
char * data ()
DtIpv4Addr addr () const

Protected Attributes

int mySize
std::vector< char > myData
DtIpv4Addr myAddr

Detailed Description

Encapsulates a packet which is to be either received or transmitted over the network by the DtAsyncSocket class.

This class is used by STL Containers so it is important that it have a cpyCtor and an assignment operator.

Deprecated:
This class is replaced by DtInetSocket as of VR-Link 3.13

Constructor & Destructor Documentation

DtAsyncSocketPacket::DtAsyncSocketPacket ( )
DtAsyncSocketPacket::DtAsyncSocketPacket ( int  size,
const char *  data,
DtIpv4Addr  addr = 0 
)
DtAsyncSocketPacket::DtAsyncSocketPacket ( const DtAsyncSocketPacket other)
virtual DtAsyncSocketPacket::~DtAsyncSocketPacket ( )
virtual

Member Function Documentation

DtIpv4Addr DtAsyncSocketPacket::addr ( ) const
inline
char* DtAsyncSocketPacket::data ( )
inline
DtAsyncSocketPacket& DtAsyncSocketPacket::operator= ( const DtAsyncSocketPacket other)
size_t DtAsyncSocketPacket::size ( ) const
inline

Member Data Documentation

DtIpv4Addr DtAsyncSocketPacket::myAddr
protected
std::vector<char> DtAsyncSocketPacket::myData
protected
int DtAsyncSocketPacket::mySize
protected

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

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)