Class Endpoint
A messaging endpoint.
Inheritance
Implements
Inherited Members
Namespace: Kephas.Messaging.Distributed
Assembly: Kephas.Messaging.dll
Syntax
public class Endpoint : IEndpoint
Constructors
| Improve this Doc View SourceEndpoint()
Initializes a new instance of the Endpoint class.
Declaration
public Endpoint()
Endpoint(String, String, String, String)
Initializes a new instance of the Endpoint class.
Declaration
public Endpoint(string appId = null, string appInstanceId = null, string endpointId = null, string scheme = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | appId | Optional. The identifier of the application. |
System.String | appInstanceId | Optional. The identifier of the application instance. |
System.String | endpointId | Optional. The identifier of the endpoint. |
System.String | scheme | Optional. The scheme. |
Endpoint(Uri)
Initializes a new instance of the Endpoint class.
Declaration
public Endpoint(Uri url)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | url | The endpoint URL. |
Fields
| Improve this Doc View SourceAppScheme
The application scheme.
Declaration
public const string AppScheme = "app"
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceAppId
Gets the identifier of the application.
Declaration
public string AppId { get; }
Property Value
Type | Description |
---|---|
System.String | The identifier of the application. |
AppInstanceId
Gets the identifier of the application instance.
Declaration
public string AppInstanceId { get; }
Property Value
Type | Description |
---|---|
System.String | The identifier of the application instance. |
EndpointId
Gets the identifier of the endpoint.
Declaration
public string EndpointId { get; }
Property Value
Type | Description |
---|---|
System.String | The identifier of the endpoint. |
Scheme
Gets the scheme.
Declaration
public string Scheme { get; }
Property Value
Type | Description |
---|---|
System.String | The scheme. |
Url
Gets or sets the URL of the endpoint.
Declaration
public Uri Url { get; set; }
Property Value
Type | Description |
---|---|
System.Uri | The URL. |
Methods
| Improve this Doc View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |