#include <IFCAccessAdaptor.h>
Public Types | |
| enum | enStats { eTOTAL_CONNECTED, eBYTES_IN, eBYTES_OUT } |
The enumeration for the statistics in getStats(). More... | |
Public Member Functions | |
| virtual | ~IFCAccessContext () |
| virtual const char * | getVersion () const =0 |
| virtual const char * | getDescription () const =0 |
| virtual bool | getStats (enStats stat, char *strValue, int &iValueLen) const =0 |
| virtual IFCAccessContext::~IFCAccessContext | ( | ) | [virtual] |
| virtual const char* IFCAccessContext::getVersion | ( | ) | const [pure virtual] |
Returns a string indicating the server version. The string format is: <major>,<minor>,<micro>,<buildnum>. For example:
"3,0,0,1"
| virtual const char* IFCAccessContext::getDescription | ( | ) | const [pure virtual] |
Returns a string that describes the server. For example:
"Adobe Flash Media Interactive Server 3"
| virtual bool IFCAccessContext::getStats | ( | enStats | stat, | |
| char * | strValue, | |||
| int & | iValueLen | |||
| ) | const [pure virtual] |
Returns the specified server statistic.
| stat | A statistic to query. | |
| strValue | String buffer into which the server writes the queried statistic. The buffer must be at least STRING_VALUE_BUFFER_LEN bytes in length. | |
| iValueLen | Specifies the size of the buffer being passed in. This is an in/out parameter. If 0 is specified, it returns the minimum buffer size required: the value of STRING_VALUE_BUFFER_LEN. |