SimpleServerCommandExchange

class SimpleServerCommandExchange<C : Any>(val message: CommandMessage<C>, val attributes: MutableMap<String, Any> = ConcurrentHashMap()) : ServerCommandExchange<C>

Simple implementation of ServerCommandExchange.

This class provides a basic implementation of the server command exchange, storing the command message and any additional attributes for command processing.

Parameters

message

the command message being processed

attributes

mutable map for storing additional exchange data

Type Parameters

C

the type of the command

See also

Constructors

Link copied to clipboard
constructor(message: CommandMessage<C>, attributes: MutableMap<String, Any> = ConcurrentHashMap())

Properties

Link copied to clipboard
open override val attributes: MutableMap<String, Any>
Link copied to clipboard
open override val message: CommandMessage<C>