|
Windows Clients
SAS Object Manager Interfaces
The principal interfaces of the SAS Object Manager are as follows:
- IObjectFactory
- The IObjectFactory provides collection methods for ServerDefs, LoginDefs, LogicalNameDefs, SAS objects and ObjectPools. It also provides methods to establish connections to SAS servers and to define metadata sources.
- IObjectKeeper
- This interface is used to store an interface and retrieve it later, possibly from another thread. The IObjectKeeper interface is also used as a rendezvous point for objects created asynchronously from the ObjectFactory.
- ILoginDef
- This interface allows you to create and manipulate login definitions (LoginDefs). A LoginDef is only needed for connections using the IOM Bridge for COM.
- ILoginDefs
- ILoginDefs contains the standard collection methods Count, _NewEnum, Add, Item, and Remove where the key is the LoginDefName. It also supports one additional method: CheckAccess.
- IServerDef
- The SAS Object Manager uses the server definition to determine how to connect to the server. For a local or DCOM connection, only the Name and Hostname values are needed. The IOM Bridge for COM requires Protocol to be set to ProtocolBridge; Port and ServiceName can be used with the IOM Bridge for COM.
- IServerDefs
- IServerDefs contains the standard collection methods Count, _NewEnum, Add, Item, and Remove where the key is the ServerDefName. It also supports one additional method: CheckAccess.
- IObjectPools
- This interface is used to create, enumerate, locate, and remove ObjectPool objects.
- IObjectPool
- This interface is used to configure parameters for an ObjectPool.
- IPooledObject
- This interface is used to notify a pool when the associated SAS object can be returned to the pool.
The reference documentation for using the SAS Object Manager interfaces is shipped with the SAS Object Manager in the sasoman.chm Help file.
|