physx::shdfnd::SocketImpl Class Reference
Inheritance diagram for physx::shdfnd::SocketImpl:

Public Member Functions | |
| SocketImpl (bool isBlocking) | |
| virtual | ~SocketImpl () |
| bool | connect (const char *host, uint16_t port, uint32_t timeout) |
| bool | listen (uint16_t port) |
| bool | accept (bool block) |
| void | disconnect () |
| void | setBlocking (bool blocking) |
| virtual uint32_t | write (const uint8_t *data, uint32_t length) |
| virtual bool | flush () |
| uint32_t | read (uint8_t *data, uint32_t length) |
| PX_FORCE_INLINE bool | isBlocking () const |
| PX_FORCE_INLINE bool | isConnected () const |
| PX_FORCE_INLINE const char * | getHost () const |
| PX_FORCE_INLINE uint16_t | getPort () const |
Protected Member Functions | |
| bool | nonBlockingTimeout () const |
| void | setBlockingInternal (SOCKET socket, bool blocking) |
Protected Attributes | |
| SOCKET | mSocket |
| SOCKET | mListenSocket |
| const char * | mHost |
| uint16_t | mPort |
| bool | mIsConnected |
| bool | mIsBlocking |
| bool | mListenMode |
| bool | mSocketLayerIntialized |
Constructor & Destructor Documentation
| physx::shdfnd::SocketImpl::SocketImpl | ( | bool | isBlocking | ) |
| physx::shdfnd::SocketImpl::~SocketImpl | ( | ) | [virtual] |
Member Function Documentation
| bool physx::shdfnd::SocketImpl::accept | ( | bool | block | ) |
| bool physx::shdfnd::SocketImpl::connect | ( | const char * | host, | |
| uint16_t | port, | |||
| uint32_t | timeout | |||
| ) |
| void physx::shdfnd::SocketImpl::disconnect | ( | ) |
| bool physx::shdfnd::SocketImpl::flush | ( | ) | [virtual] |
Reimplemented in physx::shdfnd::BufferedSocketImpl.
| PX_FORCE_INLINE const char* physx::shdfnd::SocketImpl::getHost | ( | ) | const [inline] |
| PX_FORCE_INLINE uint16_t physx::shdfnd::SocketImpl::getPort | ( | ) | const [inline] |
| PX_FORCE_INLINE bool physx::shdfnd::SocketImpl::isBlocking | ( | ) | const [inline] |
| PX_FORCE_INLINE bool physx::shdfnd::SocketImpl::isConnected | ( | ) | const [inline] |
| bool physx::shdfnd::SocketImpl::listen | ( | uint16_t | port | ) |
| bool physx::shdfnd::SocketImpl::nonBlockingTimeout | ( | ) | const [protected] |
| uint32_t physx::shdfnd::SocketImpl::read | ( | uint8_t * | data, | |
| uint32_t | length | |||
| ) |
| void physx::shdfnd::SocketImpl::setBlocking | ( | bool | blocking | ) |
| void physx::shdfnd::SocketImpl::setBlockingInternal | ( | SOCKET | socket, | |
| bool | blocking | |||
| ) | [protected] |
| uint32_t physx::shdfnd::SocketImpl::write | ( | const uint8_t * | data, | |
| uint32_t | length | |||
| ) | [virtual] |
Reimplemented in physx::shdfnd::BufferedSocketImpl.
Member Data Documentation
const char* physx::shdfnd::SocketImpl::mHost [protected] |
bool physx::shdfnd::SocketImpl::mIsBlocking [protected] |
bool physx::shdfnd::SocketImpl::mIsConnected [mutable, protected] |
bool physx::shdfnd::SocketImpl::mListenMode [protected] |
SOCKET physx::shdfnd::SocketImpl::mListenSocket [protected] |
uint16_t physx::shdfnd::SocketImpl::mPort [protected] |
SOCKET physx::shdfnd::SocketImpl::mSocket [mutable, protected] |
bool physx::shdfnd::SocketImpl::mSocketLayerIntialized [protected] |
The documentation for this class was generated from the following file:
- E:/p4/sw/physx/PxShared/1.0/trunk/src/foundation/src/windows/PsWindowsSocket.cpp
Generated on Tue Jul 28 14:22:02 2015 for NVIDIA(R) PsFoundation Reference by
1.5.8