abstract fun getMessagesForContext(agent: Agent, connectionContext: ConnectionContext): Single<List<BasicMessageRecord>>
Returns a list of messages over the given connection context. Using a service decorator context is not valid here.
agent
- agent to get messages for
connectionContext
- context to search with
Return
Single of a list of BasicMessageRecord, records representing the sent and
received messages over the given connection.