VR-Link API Documentation for HLA Evolved
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:

List of all members.

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 ( int  size,
const char *  data,
DtIpv4Addr  addr = 0 
)

Member Function Documentation

char* DtAsyncSocketPacket::data ( ) [inline]
DtAsyncSocketPacket& DtAsyncSocketPacket::operator= ( const DtAsyncSocketPacket other)
size_t DtAsyncSocketPacket::size ( ) const [inline]

Member Data Documentation

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 Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)