MessageTypeManager
Overview
This class is responsible for registering associations between messaging protocol names and message types. Also it allows to create message class instances based on protocol name. This is a static class. It is a part of URL Schemes implementation.
Location
- Reference: RemObjects.SDK.dll
- Namespace: RemObjects.SDK
Class Methods
CreateMessageForPath
Creates a message class instance based on the passed protocol name (path) and the current registration information.
class method CreateMessageForPath(path: String): IMessage
static IMessage CreateMessageForPath(String path)
Shared Function CreateMessageForPath(path As String) As IMessage
Parameters:
- path: The messaging protocol name, such as "bin", "soap", etc
OverrideMessageForPath
Allows to set a custom association between the messaging protocol name and the message type. This includes overriding associations set by default.
class method OverrideMessageForPath(path: String; type: Type)
static void OverrideMessageForPath(String path, Type type)
Shared Sub OverrideMessageForPath(path As String, type As Type)
Parameters:
- path: The messaging protocol name, such as "bin", "soap", etc
- type: The message type that will be the handler for the path