Typically APIs have suitable factory methods for all message types they require but the message creation methods provided here may be used by classes that have no direct reference to an API object.
More...
Typically APIs have suitable factory methods for all message types they require but the message creation methods provided here may be used by classes that have no direct reference to an API object.
static ITopicMessage PushTechnology.DiffusionCore.Messaging.MessageFactory.CreateDeltaMessage |
( |
string |
topic, |
|
|
int |
capacity = 0 |
|
) |
| |
|
static |
Creates a delta message.
- Parameters
-
topic | The topic name. |
capacity | The initial capacity of the message which should be sufficient to hold the data and any user headers. |
- Returns
- A new empty delta message.
static FetchMessage PushTechnology.DiffusionCore.Messaging.MessageFactory.CreateFetchMessage |
( |
string |
topic, |
|
|
List< string > |
headers |
|
) |
| |
|
static |
Creates a fetch message.
- Parameters
-
- Returns
static ITopicMessage PushTechnology.DiffusionCore.Messaging.MessageFactory.CreateLoadMessage |
( |
string |
topic, |
|
|
int |
capacity = 0 |
|
) |
| |
|
static |
Creates a load message.
- Parameters
-
topic | The topic name. |
capacity | The initial capacity of the message which should be sufficient to hold the data and any user headers. |
- Returns
- A new empty load message.