IFCAccessContext Class Reference
[Access plug-in]

This interface is implemented by the server and provides the plug-in methods to query the server for information.

#include <IFCAccessAdaptor.h>

List of all members.

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


Member Enumeration Documentation

enum IFCAccessContext::enStats

Enumerator:
eTOTAL_CONNECTED  Total connections.
eBYTES_IN  Total bytes received.
eBYTES_OUT  Total bytes sent.


Constructor & Destructor Documentation

virtual IFCAccessContext::~IFCAccessContext (  )  [virtual]


Member Function Documentation

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.

Parameters:
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.


The documentation for this class was generated from the following file: FMS Adaptors Footer

 

©2007 Adobe Systems Incorporated.  All Rights Reserved.