#include <XPStream.h>
Inheritance diagram for RNReplicaNet::XPStream:
Public Member Functions | |
XPStream () | |
virtual | ~XPStream () |
int | Create () |
int | Close () |
XPStream * | Accept (void) |
int | Send (const char *data, const int len) |
int | Recv (char *const data, const int maxlen) |
int | GetMaxPacketSize (void) |
|
The ctor for an XPStream At this point no connection is made for the stream |
|
The dtor for an XPStream This cleans up everything for this stream |
|
Accepts any pending connections for this stream. This should be used with the Listen() member function defined in the XPSocket base class
Reimplemented from RNReplicaNet::XPSocket. |
|
Closes a XPStream
Reimplemented from RNReplicaNet::XPSocket. |
|
Creates a XPStream
Reimplemented from RNReplicaNet::XPSocket. |
|
Returns the maximum size for a packet
Reimplemented from RNReplicaNet::XPSocket. |
|
Tries to recv a packet from the stream
Reimplemented from RNReplicaNet::XPSocket. |
|
Sends a packet from the connected stream
Reimplemented from RNReplicaNet::XPSocket. |