![]() |
MAK RTIspy API Documentation for HLA 1516
|
The client connection to the RTI Assistant for the Web Server. More...
Inheritance diagram for DtRtiAssistantWwwClient:
Collaboration diagram for DtRtiAssistantWwwClient:Public Member Functions | |
| DtRtiAssistantWwwClient (int port=0) | |
| virtual | ~DtRtiAssistantWwwClient () |
| virtual void | updateWwwLogFile (const MAKRti::DtFilename &file) |
| Updates the log file name used by this Www. | |
| virtual void | updateWebSpyInfo (DtInetAddr ipAddr, int httpPort, int rtiPort) |
| Updates the information on this web server. | |
| virtual void | sendClientInfo () |
| Sends the stored Www information to the Assistant. | |
Protected Attributes | |
| MAKRti::DtString | myName |
| The name the Assistant uses to identify this Www. | |
| MAKRti::DtFilename | myLogFile |
| The name and full path of the log file. | |
| DtInetAddr | myWebSpyAddr |
| The host address for the web spy. | |
| int | myWebSpyHttpPort |
| The HTTP port for the web spy. | |
| int | myWebSpyRtiPort |
| The RTI port for the web spy. | |
The client connection to the RTI Assistant for the Web Server.
DtRtiAssistantWwwClient manages the client connection of the Web Server to the RTI Assistant. Provides routines to create and send messages to the Assistant.
| DtRtiAssistantWwwClient::DtRtiAssistantWwwClient | ( | int | port = 0 | ) |
References DtRtiAssistantClient::initialize().
| DtRtiAssistantWwwClient::~DtRtiAssistantWwwClient | ( | ) | [virtual] |
| void DtRtiAssistantWwwClient::sendClientInfo | ( | ) | [virtual] |
Sends the stored Www information to the Assistant.
Reimplemented from DtRtiAssistantClient.
References DtAssistantWwwCompInfoMsgKind, DtRtiAssistantClient::msgFactory(), myLogFile, myWebSpyAddr, myWebSpyHttpPort, myWebSpyRtiPort, DtRtiAssistantClient::sendMsg(), DtAssistantWwwCompInfoMsg::setLogFilename(), DtAssistantWwwCompInfoMsg::setNotifyLevel(), DtAssistantWwwCompInfoMsg::setWebSpyHttpPort(), DtAssistantWwwCompInfoMsg::setWebSpyIpAddress(), and DtAssistantWwwCompInfoMsg::setWebSpyRtiPort().
| void DtRtiAssistantWwwClient::updateWebSpyInfo | ( | DtInetAddr | ipAddr, |
| int | httpPort, | ||
| int | rtiPort | ||
| ) | [virtual] |
Updates the information on this web server.
Note that this method does not send the message to the assistant, just stores the name to be sent when sendClientInfo is called.
References myWebSpyAddr, myWebSpyHttpPort, and myWebSpyRtiPort.
| void DtRtiAssistantWwwClient::updateWwwLogFile | ( | const MAKRti::DtFilename & | file | ) | [virtual] |
MAKRti::DtFilename DtRtiAssistantWwwClient::myLogFile [protected] |
The name and full path of the log file.
Referenced by sendClientInfo(), and updateWwwLogFile().
MAKRti::DtString DtRtiAssistantWwwClient::myName [protected] |
The name the Assistant uses to identify this Www.
DtInetAddr DtRtiAssistantWwwClient::myWebSpyAddr [protected] |
The host address for the web spy.
Referenced by sendClientInfo(), and updateWebSpyInfo().
int DtRtiAssistantWwwClient::myWebSpyHttpPort [protected] |
The HTTP port for the web spy.
Referenced by sendClientInfo(), and updateWebSpyInfo().
int DtRtiAssistantWwwClient::myWebSpyRtiPort [protected] |
The RTI port for the web spy.
Referenced by sendClientInfo(), and updateWebSpyInfo().