Class SearchResultMessage

java.lang.Object
com.yahoo.messagebus.Routable
com.yahoo.messagebus.Message

public class SearchResultMessage extends VisitorMessage
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates and returns a reply to this message.
    com.yahoo.vdslib.SearchResult
     
    int
     
    void
    setSearchResult(com.yahoo.vdslib.SearchResult result)
     

    Methods inherited from class com.yahoo.documentapi.messagebus.protocol.DocumentMessage

    getApproxSize, getPriority, getProtocol, setPriority, swapState

    Methods inherited from class com.yahoo.messagebus.Message

    getBucketSequence, getRetry, getRetryEnabled, getRoute, getSequenceId, getTimeReceived, getTimeRemaining, getTimeRemainingNow, hasBucketSequence, hasSequenceId, isExpired, setRetry, setRetryEnabled, setRoute, setTimeReceived, setTimeReceivedNow, setTimeRemaining

    Methods inherited from class com.yahoo.messagebus.Routable

    discard, getCallStack, getContext, getTrace, popHandler, pushHandler, setContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SearchResultMessage

      public SearchResultMessage()
  • Method Details

    • getResult

      public com.yahoo.vdslib.SearchResult getResult()
    • setSearchResult

      public void setSearchResult(com.yahoo.vdslib.SearchResult result)
    • createReply

      public DocumentReply createReply()
      Description copied from class: DocumentMessage
      Creates and returns a reply to this message.
      Specified by:
      createReply in class DocumentMessage
      Returns:
      The created reply.
    • getType

      public int getType()
      Specified by:
      getType in class com.yahoo.messagebus.Routable