Namespace: Consultingwerk.Framework.Messaging
Class 
SmartMessagingService Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.Messaging.ISmartMessagingService

Purpose: Posts a message to the broadcast endpoint
Notes:



Top Method Summary
Options Name Purpose
# CHARACTER GetSmartMessageBroadcastAddress () Returns the SmartMessageBroadcast address from .applicationsettings or .restapplicationsettings
# HandleHttpError (IHttpResponse) Handles an HTTP Error
+ OpenEdge.Net.HTTP.StatusCodeEnum PostMessage (character, JsonObject) Posts a message to the broadcast endpoint


Method Detail
Top

PROTECTED CHARACTER GetSmartMessageBroadcastAddress ()

Purpose: Returns the SmartMessageBroadcast address from
.applicationsettings or .restapplicationsettings
Notes:

Returns CHARACTER
The SmartMessageBroadcast setting
Top

PROTECTED HandleHttpError (IHttpResponse)

Purpose: Handles an HTTP Error
Notes:

Parameters:
poResponse OpenEdge.Net.HTTP.IHttpResponse
The IHttpResponse with the error
Top

PUBLIC OpenEdge.Net.HTTP.StatusCodeEnum PostMessage (character, JsonObject)

Purpose: Posts a message to the broadcast endpoint
Notes:

Parameters:
pcSubject CHARACTER
The message subject property
poPayload Progress.Json.ObjectModel.JsonObject
The message payload
Returns OpenEdge.Net.HTTP.StatusCodeEnum
The HTTP StatusCode as an StatusCodeEnum value


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:59:09