Torque2D Reference
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
NetSocket Class Reference

#include <platformNet.h>

Public Member Functions

 NetSocket ()
 
void setHandle (S32 handleId)
 
S32 getHandle () const
 
U32 getHash () const
 
bool operator== (const NetSocket &other) const
 
bool operator!= (const NetSocket &other) const
 

Static Public Member Functions

static NetSocket fromHandle (S32 handleId)
 

Static Public Attributes

static NetSocket INVALID = NetSocket::fromHandle(-1)
 

Protected Attributes

S32 mHandle
 

Constructor & Destructor Documentation

◆ NetSocket()

NetSocket ( )
inline

Member Function Documentation

◆ fromHandle()

static NetSocket fromHandle ( S32  handleId)
inlinestatic

◆ getHandle()

S32 getHandle ( ) const
inline

◆ getHash()

U32 getHash ( ) const
inline

◆ operator!=()

bool operator!= ( const NetSocket other) const
inline

◆ operator==()

bool operator== ( const NetSocket other) const
inline

◆ setHandle()

void setHandle ( S32  handleId)
inline

Member Data Documentation

◆ INVALID

NetSocket INVALID = NetSocket::fromHandle(-1)
static

◆ mHandle

S32 mHandle
protected

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