RVTDocs.com

IExternalServer

Interface
Description:
The base interface for all external servers.
Remarks:
Every external service in Revit declares a specific interface for its servers. Each interface must be derived from this IExternalServer. Providers of external servers implement the server interfaces defined by the respective external services to which the servers belong. The whole process of creating a server and registering it with Revit as a server of a concrete external service can be outlined in the following steps:
  1. A provider of an external service declares a server interface derived from IExternalServer
  2. The provider of the service will make it known that this interface is for the servers of that service
  3. An application wanting to have a server will implement the appropriate interface
  4. The server's application obtains the service from Revit using the ExternalServiceRegistry.GetService method
  5. An instance of the server class can then be registered with Revit by using the ExternalService.AddServer method
Syntax
public interface IExternalServer
IExternalServer Interface Members:
Name Description
GetDescription Implement this method to return a description of the server.
GetName Implement this method to return the name of the server.
GetServerId Implement this method to return the id of the server.
GetServiceId Implement this method to return the id of the service.
GetVendorId Implement this method to return the id of the vendor of the server.