net.corda.node.services.messaging / NodeMessagingClient / Handler

# Handler

`data class Handler : MessageHandlerRegistration`

A registration to handle messages of different types

### Constructors

<init> | `Handler(topicSession: TopicSession, callback: (Message, MessageHandlerRegistration) -> Unit)` A registration to handle messages of different types

### Properties

callback | `val callback: (Message, MessageHandlerRegistration) -> Unit`
topicSession | `val topicSession: TopicSession`