Class MessageBrokerServerProtocolException
- Namespace
- LfrlAnvil.MessageBroker.Server.Exceptions
- Assembly
- LfrlAnvil.MessageBroker.Server.dll
Represents an exception thrown when network protocol has been violated by message broker client.
public class MessageBrokerServerProtocolException : InvalidOperationException, ISerializable
- Inheritance
-
MessageBrokerServerProtocolException
- Implements
- Inherited Members
Constructors
MessageBrokerServerProtocolException(MessageBrokerRemoteClient, MessageBrokerServerEndpoint, Chain<string>)
Creates a new MessageBrokerServerProtocolException instance.
public MessageBrokerServerProtocolException(MessageBrokerRemoteClient client, MessageBrokerServerEndpoint endpoint, Chain<string> errors)
Parameters
clientMessageBrokerRemoteClientMessageBrokerRemoteClient that encountered network protocol violation.
endpointMessageBrokerServerEndpointServer endpoint associated with network protocol violation.
errorsChain<string>Collection of network protocol errors.
MessageBrokerServerProtocolException(MessageBrokerRemoteClientConnector, MessageBrokerServerEndpoint, Chain<string>)
Creates a new MessageBrokerServerProtocolException instance.
public MessageBrokerServerProtocolException(MessageBrokerRemoteClientConnector connector, MessageBrokerServerEndpoint endpoint, Chain<string> errors)
Parameters
connectorMessageBrokerRemoteClientConnectorMessageBrokerRemoteClientConnector that encountered network protocol violation.
endpointMessageBrokerServerEndpointServer endpoint associated with network protocol violation.
errorsChain<string>Collection of network protocol errors.
Properties
Client
MessageBrokerRemoteClient that encountered network protocol violation.
public MessageBrokerRemoteClient? Client { get; }
Property Value
Connector
MessageBrokerRemoteClientConnector that encountered network protocol violation.
public MessageBrokerRemoteClientConnector? Connector { get; }
Property Value
Endpoint
Server endpoint associated with network protocol violation.
public MessageBrokerServerEndpoint Endpoint { get; }