Click or drag to resize

AgsService Class

The Applet Gateway Service
Inheritance Hierarchy
SystemObject
  SanteDB.DisconnectedClient.AgsAgsService

Namespace:  SanteDB.DisconnectedClient.Ags
Assembly:  SanteDB.DisconnectedClient.Ags (in SanteDB.DisconnectedClient.Ags.dll) Version: 2.2.1
Syntax
public class AgsService : IDaemonService, IServiceImplementation, 
	IRestServiceFactory

The AgsService type exposes the following members.

Constructors
  NameDescription
Public methodAgsService
Initializes a new instance of the AgsService class
Top
Properties
  NameDescription
Public propertyIsRunning
Determine whether the service is fully operational
Public propertyServiceName
Get the service name
Top
Methods
  NameDescription
Public methodCreateService
Create the rest service
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetDefaultConfiguration
Gets the default AGS configuration
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRemoteEndpointInfo
Retrieve the remote endpoint information
Public methodGetServiceCapabilities
Get capabilities
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStart
Starts this service handler
Public methodStop
Stops this service handler
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventStarted
Fired when the handler has started
Public eventStarting
Fired when the handler is starting
Public eventStopped
Fired when the handler has stopped
Public eventStopping
Fired when the handler is stopping
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
Remarks

The AGS service is responsible for starting the REST based services for the dCDR instance and is responsible for maintaining and managing these services through the life cycle including:

See Also