IFmsAuthServerContext Class Reference
[Authorization plug-in]

The interface to an asynchronous Authorization plug-in. The plug-in calls the methods on this class to initiate, cancel, or authorize asynchronous operations. The interface is subject to strict limited memory lifetime requirements, and pointers can be assumed to be valid only within the function call. The read and write buffers are an exception and are valid for the entire asynchronous operation. Strings are null-terminated and UTF-8 encoded.

#include <FmsAuthAdaptor.h>

Inheritance diagram for IFmsAuthServerContext:

IFmsServerContext

List of all members.

Public Member Functions

virtual void onAuthorize (IFmsAuthEvent *pAev, bool bAuthorized)=0
virtual void onNotify (const IFmsAuthEvent *pAev)=0
virtual void excludeEvents (I32 aevBit[], int count, IFmsAuthEvent::EventType eventId[], int count1)=0

Protected Member Functions

virtual ~IFmsAuthServerContext ()


Constructor & Destructor Documentation

virtual IFmsAuthServerContext::~IFmsAuthServerContext (  )  [protected, virtual]

Called by the server to destroy an object.


Member Function Documentation

virtual void IFmsAuthServerContext::onAuthorize ( IFmsAuthEvent pAev,
bool  bAuthorized 
) [pure virtual]

Authorizes server events. This plug-in call should complete a pending server operation.

Parameters:
pAev A pointer to an authorization event.
bAuthorized The Boolean value to authorize the event.

virtual void IFmsAuthServerContext::onNotify ( const IFmsAuthEvent pAev  )  [pure virtual]

Provides notification completion. This plug-in call should notify the server that an event is not needed anymore.

Parameters:
pAev A pointer to an authorization event.

virtual void IFmsAuthServerContext::excludeEvents ( I32  aevBit[],
int  count,
IFmsAuthEvent::EventType  eventId[],
int  count1 
) [pure virtual]

Tells the server to exclude receiving specified events after the plug-in is loaded. This call is made once, and event selection is valid through the lifetime of the plug-in.

Parameters:
aevBit The array from a getEvents() call (authorization or notification) of 32-bit integers, where each bit in the integer represents an event according to an EventType definition in the IFmsAuthEvent class.
eventId An array indicating the events to exclude, where each member is represented by an event type according to an EventType definition in the IFmsAuthEvent class.
count The size of the array.
count1 The size of the array.


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

 

©2007 Adobe Systems Incorporated.  All Rights Reserved.