Class MessageBusVisitorSession

java.lang.Object
com.yahoo.documentapi.messagebus.MessageBusVisitorSession
All Implemented Interfaces:
VisitorControlSession, VisitorSession

public class MessageBusVisitorSession extends Object implements VisitorSession

A visitor session for tracking progress for and potentially receiving data from a visitor using a MessageBus source and destination session. The source session is used to initiate visiting by sending create visitor messages to storage and the destination session is used for receiving progress. If the visitor is not set up to send data to a remote destination, data will also be received through the destination session.

Create the visitor session by calling the DocumentAccess.createVisitorSession method.