public class DefaultAllowTerminationValidator extends Object implements TerminationValidator
TerminationValidator that always allows termination.| Constructor and Description |
|---|
DefaultAllowTerminationValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowTermination(File aeronDir,
DirectBuffer tokenBuffer,
int tokenOffset,
int tokenLength)
Should the given termination request be considered valid or not.
|
public boolean allowTermination(File aeronDir, DirectBuffer tokenBuffer, int tokenOffset, int tokenLength)
allowTermination in interface TerminationValidatoraeronDir - of the driver.tokenBuffer - of the token in the request.tokenOffset - of the token within the buffer.tokenLength - of the token within the buffer.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.