blob: 9dd4085ffb35c56ff242552df329263280db6e90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.documentapi.messagebus.protocol;
import com.yahoo.vdslib.SearchResult;
public class SearchResultMessage extends VisitorMessage {
private SearchResult searchResult = null;
public SearchResult getResult() {
return searchResult;
}
public void setSearchResult(SearchResult result) {
searchResult = result;
}
@Override
public DocumentReply createReply() {
return new VisitorReply(DocumentProtocol.REPLY_SEARCHRESULT);
}
@Override
public int getType() {
return DocumentProtocol.MESSAGE_SEARCHRESULT;
}
}
|