IFmsAuthAdaptor Class Reference
[Authorization plug-in]

The interface to a response object provided to the Authorization plug-in. The server calls the appropriate method upon receiving the event.

#include <FmsAuthAdaptor.h>

List of all members.

Public Member Functions

virtual void authorize (IFmsAuthEvent *pAev)=0
virtual void notify (IFmsAuthEvent *pAev)=0
virtual void getEvents (I32 aevBitAuth[], I32 aevBitNotf[], unsigned int count)=0
virtual ~IFmsAuthAdaptor ()


Constructor & Destructor Documentation

virtual IFmsAuthAdaptor::~IFmsAuthAdaptor (  )  [virtual]

Called by the server to destroy an object.


Member Function Documentation

virtual void IFmsAuthAdaptor::authorize ( IFmsAuthEvent pAev  )  [pure virtual]

Reports the arrival of a server event. The server operation is pending until the plug-in calls authorizeEvent() with a Boolean authorization status.

Parameters:
pAev A pointer to an authorization event.

virtual void IFmsAuthAdaptor::notify ( IFmsAuthEvent pAev  )  [pure virtual]

Reports the arrival of a server event. Server operation continues because authorization is not required.

Parameters:
pAev pointer to auth event

virtual void IFmsAuthAdaptor::getEvents ( I32  aevBitAuth[],
I32  aevBitNotf[],
unsigned int  count 
) [pure virtual]

Cancels receiving particular server 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:
aevBitAuth An array of 32-bit integers, where each bit in the integer represents an event according to an EventType definition in the IFmsAuthEvent class. To cancel receiving a particular event, set the value of the bit to 1; otherwise, the server calls authorize() when it receives the event. This parameter represents authorization bits.
aevBitNotf An array of 32-bit integers where each bit in the integer represents an event according to an EventType definition in the IFmsAuthEvent class. To cancel receiving a particular event, set the value of the bit to 1; otherwise, the server calls notify() when it receives the event. This parameter represents notification bits.
count The size of the array. With 32 or fewer events, the array size is 1. With 33-64 events, the array size is 2, and so on.


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

 

©2007 Adobe Systems Incorporated.  All Rights Reserved.