#include <PtdNetworkModule.h>
Public Member Functions | |
Creators | |
| CNetworkConnection () | |
| Default constructor. | |
| CNetworkConnection (fsf::CNode *pParent, fsf::Time tTime=0) | |
| 2-parameter constructor: parent and time stamp | |
| CNetworkConnection (std::string &strName, fsf::CNode *pParent, fsf::Time tTime=0) | |
| 3-parameter constructor: node name, parent and time stamp | |
| CNetworkConnection (const CNetworkConnection &rhs) | |
| Copy constructor. | |
| virtual fsf::CNode * | clone () const |
| Cloning: necessary for run-time polymorphism. | |
Manipulators | |
| CNetworkConnection & | operator= (const CNetworkConnection &) |
| Assignment operator. | |
| void | setAddress (const std::string strAddress) |
| Sets the IP address string where messages are to be sent. | |
| void | setPort (unsigned short nPort) |
| Sets the port to which messages are to be sent. | |
Accessors | |
| virtual void | getTypeID (std::string &str) const |
| std::string | getAddress () const |
| Gets the IP address string where messages are to be sent. | |
| unsigned short | getPort () const |
| Gets the port to which messages are to be sent. | |
Private Attributes | |
| std::string | m_strAddress |
| Multicast address (receive) or send target address. | |
| unsigned short | m_nPort |
| Send port. | |
1.5.9