milestonexprotectwspython.xpwservice

Module: xpwservice.py

Revision History

Date Version Description
2023/07/11 1.0.0.0 Initial Version.

@export
class XPWService:

Service information returned by a ServiceRegistrationService GetService call.

Threadsafety:

This class is fully thread-safe.

XPWService()

Initializes a new instance of the class.

Description: str

Gets the Description property value.

Returns:

A short description of what the service endpoint provides.

Enabled: bool

Gets the Enabled property value.

Returns:

The enabled status of the service.

EndpointDefinition: str

Gets the EndpointDefinition property value.

Returns:

All defined endpoint definitions as a string. These endpoints are also represented as a collection of items by the EndPoints property.

Gets the Endpoints property value.

Returns:

All defined endpoint definitions as a collection. These endpoints are also represented as a single string by the EndPointDefinition property.

Instance: str

Gets the Instance property value.

Returns:

The instance ID of the service endpoint.

Name: str

Gets the Name property value.

Returns:

The name of the service endpoint.

Trusted: bool

Gets the Trusted property value.

Returns:

The trusted status of the service.

Type: str

Gets the Type property value.

Returns:

The service type identifier.

Uri: list[str]

Gets the Uri property value.

Returns:

The URI at which the service endpoint can be accessed at.