#include <Network.h>
Definition at line 65 of file Network.h.
cmlabs::Network::Network | ( | TCPReceiver * | recv = NULL |
) |
Definition at line 35 of file Network.cpp.
cmlabs::Network::~Network | ( | ) | [virtual] |
Definition at line 57 of file Network.cpp.
bool cmlabs::Network::init | ( | int | portNum = -1 |
) |
Definition at line 89 of file Network.cpp.
void cmlabs::Network::run | ( | ) | [virtual] |
bool cmlabs::Network::allowConnections | ( | bool | allow | ) |
Definition at line 124 of file Network.cpp.
Object* cmlabs::Network::clone | ( | ) | const [virtual] |
JString cmlabs::Network::getLocalHostname | ( | ) |
Definition at line 348 of file Network.cpp.
JString cmlabs::Network::getLocalIPAddress | ( | ) |
Definition at line 363 of file Network.cpp.
Collection cmlabs::Network::getLocalIPAddresses | ( | ) |
Definition at line 378 of file Network.cpp.
JString cmlabs::Network::getRemoteHostname | ( | ) |
Definition at line 395 of file Network.cpp.
Definition at line 431 of file Network.cpp.
Definition at line 406 of file Network.cpp.
int cmlabs::Network::getConnectionCount | ( | ) |
Definition at line 1107 of file Network.cpp.
int cmlabs::Network::getSendingConnectionCount | ( | const JString & | name | ) |
Definition at line 1111 of file Network.cpp.
int cmlabs::Network::getReceivingConnectionCount | ( | const JString & | name | ) |
Definition at line 1141 of file Network.cpp.
JString cmlabs::Network::print | ( | ) | [virtual] |
NetworkConnection * cmlabs::Network::openConnection | ( | const TCPLocation & | loc | ) |
Definition at line 461 of file Network.cpp.
NetworkConnection * cmlabs::Network::openConnection | ( | const TCPLocation & | loc, | |
NetProtocol * | netprotocol | |||
) |
Definition at line 470 of file Network.cpp.
NetworkConnection * cmlabs::Network::createNetworkConnectionTo | ( | const TCPLocation & | loc, | |
TCPReceiver * | rec | |||
) |
Definition at line 540 of file Network.cpp.
NetworkConnection * cmlabs::Network::openIncomingConnection | ( | JSocket * | sock, | |
NetProtocol * | protocol | |||
) |
Definition at line 545 of file Network.cpp.
NetworkConnection * cmlabs::Network::openReceivingConnection | ( | const TCPLocation & | loc | ) |
Definition at line 615 of file Network.cpp.
NetworkConnection * cmlabs::Network::openReceivingConnection | ( | const TCPLocation & | loc, | |
NetProtocol * | netprotocol | |||
) |
Definition at line 622 of file Network.cpp.
bool cmlabs::Network::checkReceivingConnections | ( | ) |
Definition at line 651 of file Network.cpp.
bool cmlabs::Network::checkOpenConnections | ( | ) |
Definition at line 699 of file Network.cpp.
bool cmlabs::Network::checkPrimaryConnection | ( | ) |
Definition at line 813 of file Network.cpp.
Definition at line 885 of file Network.cpp.
bool cmlabs::Network::setPrimaryConnection | ( | const TCPLocation & | loc | ) |
Definition at line 890 of file Network.cpp.
bool cmlabs::Network::isPrimaryConnection | ( | const JString & | name | ) |
Definition at line 925 of file Network.cpp.
bool cmlabs::Network::tryReconnectingLostConnections | ( | ) |
Definition at line 773 of file Network.cpp.
NetworkConnection * cmlabs::Network::findResetConnection | ( | ) |
Definition at line 1018 of file Network.cpp.
NetworkConnection * cmlabs::Network::findConnectedConnection | ( | const TCPLocation & | loc, | |
NetProtocol * | netprotocol | |||
) |
Definition at line 996 of file Network.cpp.
NetworkConnection * cmlabs::Network::findConnectedConnection | ( | const JString & | name | ) |
Definition at line 957 of file Network.cpp.
bool cmlabs::Network::isCurrentlyConnectedTo | ( | const JString & | name | ) |
Definition at line 934 of file Network.cpp.
bool cmlabs::Network::addProtocol | ( | NetProtocol * | protocol | ) |
Definition at line 250 of file Network.cpp.
bool cmlabs::Network::removeProtocol | ( | NetProtocol * | protocol | ) |
Definition at line 266 of file Network.cpp.
bool cmlabs::Network::removeAllProtocols | ( | ) |
Definition at line 290 of file Network.cpp.
NetProtocol * cmlabs::Network::detectProtocol | ( | JSocket * | socket, | |
long | timeout | |||
) |
Definition at line 302 of file Network.cpp.
NetProtocol * cmlabs::Network::getPreferredNetProtocol | ( | ) |
Definition at line 450 of file Network.cpp.
bool cmlabs::Network::setPreferredNetProtocol | ( | NetProtocol * | prefProtocol | ) |
Definition at line 454 of file Network.cpp.
bool cmlabs::Network::trainNetworkProfile | ( | const TCPLocation & | loc, | |
ConnectionProfile * | profile | |||
) |
Definition at line 1171 of file Network.cpp.
bool cmlabs::Network::unitTest | ( | ) |
Definition at line 1038 of file Network.cpp.
Message * cmlabs::Network::netObjectReceive | ( | Message * | msg, | |
NetworkConnection * | con | |||
) | [virtual] |
JString cmlabs::Network::getName | ( | ) | [virtual] |
int cmlabs::Network::getPort | ( | ) |
Definition at line 1103 of file Network.cpp.
void cmlabs::Network::deleteConnections | ( | ) | [protected] |
Definition at line 205 of file Network.cpp.
JSocket* cmlabs::Network::mySocket [protected] |
int cmlabs::Network::port [protected] |
JString cmlabs::Network::localIPAddress [protected] |
Collection cmlabs::Network::localIPAddresses [protected] |
JString cmlabs::Network::localHostname [protected] |
NetProtocol* cmlabs::Network::netProtocols [protected] |
JMutex cmlabs::Network::primaryMutex [protected] |
ObjectDictionary cmlabs::Network::lostSendConnections [protected] |
ObjectCollection* cmlabs::Network::cons [protected] |
ObjectDictionary* cmlabs::Network::receiverCons [protected] |