Class LicenseInfoNodeResponse
- java.lang.Object
-
- org.elasticsearch.transport.TransportMessage
-
- org.elasticsearch.transport.TransportResponse
-
- org.elasticsearch.action.support.nodes.BaseNodeResponse
-
- com.floragunn.searchguard.action.licenseinfo.LicenseInfoNodeResponse
-
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.common.util.concurrent.RefCounted
public class LicenseInfoNodeResponse extends org.elasticsearch.action.support.nodes.BaseNodeResponse
-
-
Constructor Summary
Constructors Constructor Description LicenseInfoNodeResponse(org.elasticsearch.cluster.node.DiscoveryNode node, SearchGuardLicense license, Set<ModuleInfo> modules)LicenseInfoNodeResponse(org.elasticsearch.common.io.stream.StreamInput in)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchGuardLicensegetLicense()Set<ModuleInfo>getModules()static LicenseInfoNodeResponsereadNodeResponse(org.elasticsearch.common.io.stream.StreamInput in)StringtoString()voidwriteTo(org.elasticsearch.common.io.stream.StreamOutput out)
-
-
-
Constructor Detail
-
LicenseInfoNodeResponse
public LicenseInfoNodeResponse(org.elasticsearch.common.io.stream.StreamInput in) throws IOException- Throws:
IOException
-
LicenseInfoNodeResponse
public LicenseInfoNodeResponse(org.elasticsearch.cluster.node.DiscoveryNode node, SearchGuardLicense license, Set<ModuleInfo> modules)
-
-
Method Detail
-
readNodeResponse
public static LicenseInfoNodeResponse readNodeResponse(org.elasticsearch.common.io.stream.StreamInput in) throws IOException
- Throws:
IOException
-
getLicense
public SearchGuardLicense getLicense()
-
getModules
public Set<ModuleInfo> getModules()
-
writeTo
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws IOException- Specified by:
writeToin interfaceorg.elasticsearch.common.io.stream.Writeable- Overrides:
writeToin classorg.elasticsearch.action.support.nodes.BaseNodeResponse- Throws:
IOException
-
-