Macromedia flash media server 2-managing flash media server ユーザーズマニュアル

ページ / 238
226
Flash Media Server Security
Access DLL APIs
Access DLL provides the following 
AccessAdaptor
 APIs:
Access DLL provides the following 
AccessContext
 APIs:
Access DLL provides the following Access APIs. These APIs represent an individual access 
session. Both the Access module and the server can access these APIs.
API name
Description
getVersion
Returns the version of the Access module. 
getDescription
Returns a description of the Access module. 
onAccess
Callback; this API is activated when a connection is attempted to 
Flash Media Server. OnAccess is responsible for accepting or 
rejecting a connection.
API name
Description
getVersion
Returns the version of Flash Media Server to the Access module.
getDescription
Returns a description of the Access module. 
getStats
Returns a selected server statistic such as number connected.
API name
Description
getType
Returns the type of the access event. 
getValue
Returns one of the specific values associated with the connection. 
This API is configured to return the value of 
one
 of the following 
fields: c-referrer, c-user-agent, s-uri, or c-ip 
setValue
Places a value into one of those values available to the 
getValue
 API. 
The 
setValue
 API can change the connection properties when the 
connection is passed to Flash Media Server. 
Note that you cannot set the c-uri field.
accept
Allows the current connection being processed to connect to Flash 
Media Server. 
reject
Denies a connection for the current session to Flash Media Server. 
The 
reject
 API also displays an explanation as to why the connection 
was denied.