IExternalService
Description:
The base interface class for all external services.
The base interface class for all external services.
Remarks:
Both supported kinds of services - single-server and multi-server - will derive their classes from this interface, albeit indirectly through an interface specific to the particular kind. External services never derive directly from this class - they always have to derive from either ISingleServerService or IMultiServerService, respectivelly.
public interface IExternalService
| Name | Return Type | Description |
|---|---|---|
| Execute(IExternalServer, Document, IExternalData) | Boolean | Implement this method to execute the given server. |
| GetDescription() | String | Implement this method to return a description of the service. |
| GetName() | String | Implement this method to return the name of the service. |
| GetServiceId() | ExternalServiceId | Implement this method to return the unique Id of the service. |
| GetVendorId() | String | Implement this method to return the vendor Id of the service. |
| IsValidServer(IExternalServer) | Boolean | Implement this method to check if the given instance represents a valid server of this service. |
| OnServersChanged(Document, ServerChangeCause, IList<Guid>) | None | Implement this method to handle situations when servers for the service have changed. |
| OnServersDisparity(Document, IList<Guid>) | DisparityResponse | Implements this method to get notified that the servers in a just opened document differ from those currently set as active for the service. |