EMS.ResourceAPI.TEMSEndpointManager

From RAD Studio API Documentation
Jump to: navigation, search

System.TObjectTEMSEndpointManager

Delphi

TEMSEndpointManager = class

C++

class PASCALIMPLEMENTATION TEMSEndpointManager : public System::TObject

Properties

Type Visibility Source Unit Parent
class public
EMS.ResourceAPI.pas
EMS.ResourceAPI.hpp
EMS.ResourceAPI EMS.ResourceAPI

Description

Manages the EMS resources of the RAD Server Engine (EMS Server).

TEMSEndpointManager is a singleton. To obtain an instance of TEMSEndpointManager, read its Instance class property.

Use the Resources property to access the existing resources of the EMS Server, and use RegisterResource to register your own resources on the EMS Server.

A subclass of TEMSEndpointManager must assign to the TEMSEndpointManager.FEndpointManagerFactory class property a function which returns an instance of that subclass. If you read the Instance property for the first time before the value of TEMSEndpointManager.FEndpointManagerFactory is defined, Instance raises an EEMSError exception with the following message:

No endpoint implementation found

See Also