Sending and receiving messages as typed data. E.g. you may want that the request message is type of YourRequest and the response message is type of YourResponse.

Classes

  ClassDescription
Public classDuplexTypedMessagesFactory
Implements the factory to create duplex strongly typed message sender and receiver.
Public classReliableMessage
Internal message used by Eneter framework for reliable communication.
Public classReliableMessageIdEventArgs
The event arguments used for the notification whether the message was delivered or not delivered.
Public classReliableTypedMessagesFactory
Implements the factory to create reliable typed message sender and receiver.
Public classTypedMessageReceivedEventArgs<(Of <(<'_MessageData>)>)>
The typed message received event.
Public classTypedMessagesFactory
Implements the factory to create strongly typed message senders and receivers.
Public classTypedRequestReceivedEventArgs<(Of <(<'_RequestMessageType>)>)>
The event when the typed message is received.
Public classTypedResponseReceivedEventArgs<(Of <(<'_ResponseMessageType>)>)>
The event when a typed response message is received.
Public classVoidMessage
Represents an empty data type 'void'. Can be used if no type is expected as a message.

Interfaces

  InterfaceDescription
Public interfaceIDuplexTypedMessageReceiver<(Of <(<'_ResponseType, _RequestType>)>)>
The interface declares the strongly typed duplex message receiver. The receiver is able to receive messages of the specified type and send back response messages of specified type.
Public interfaceIDuplexTypedMessageSender<(Of <(<'_ResponseType, _RequestType>)>)>
The interface declares the strongly typed duplex message sender. The duplex sender is able to send messages of the specified type and receive responses of the specified type.
Public interfaceIDuplexTypedMessagesFactory
The interface declares the factory that creates message senders and receivers.
Public interfaceIReliableTypedMessageReceiver<(Of <(<'_ResponseType, _RequestType>)>)>
The interface declares the strongly typed reliable message receiver. The receiver is able to receive messages of the specified type and send back response messages of the specified type. In addition it provides events notifying whether the respone message was delivered. The reliable typed message receiver can be used only with the reliable typed message sender.
Public interfaceIReliableTypedMessageSender<(Of <(<'_ResponseType, _RequestType>)>)>
The interface declares the strongly typed reliable message sender. The reliable sender can send typed messages and receive typed response messages. In addition it provides events notifying whether the message was delivered. The reliable typed message sender can be used only with the reliable typed message receiver.
Public interfaceIReliableTypedMessagesFactory
The interface declares the factory to create reliable typed message sender and receiver.
Public interfaceISyncDuplexTypedMessageSender<(Of <(<'TResponse, TRequest>)>)>
Message sender that sends a request message and then waits until the response is received.
Public interfaceITypedMessageReceiver<(Of <(<'_MessageDataType>)>)>
The interface declares the strongly typed message receiver. The receiver is able to receive messages of the specified type via one-way input channel.
Public interfaceITypedMessageSender<(Of <(<'_MessageData>)>)>
The interface declares the strongly typed messsage sender. The sender is able to send messages of the specified type via one-way output channel.
Public interfaceITypedMessagesFactory
The interface declares the factory to create strongly typed message senders and receivers.

Enumerations

  EnumerationDescription
Public enumerationReliableMessage..::..EMessageType
Indicates the purpose of the message.

Examples

For more details see examples: