ALLOW_V1, ALLOW_V2, ALLOW_V3, ERROR_START_AKE, NEVER, OPPORTUNISTIC, OTRL_POLICY_ALWAYS, OTRL_POLICY_DEFAULT, OTRL_POLICY_MANUAL, REQUIRE_ENCRYPTION, SEND_WHITESPACE_TAG, VERSION_MASK, WHITESPACE_START_AKE| Constructor and Description |
|---|
OtrPolicyImpl() |
OtrPolicyImpl(int policy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAllowV1() |
boolean |
getAllowV2() |
boolean |
getAllowV3() |
boolean |
getEnableAlways() |
boolean |
getEnableManual() |
boolean |
getErrorStartAKE() |
int |
getPolicy() |
boolean |
getRequireEncryption() |
boolean |
getSendWhitespaceTag() |
boolean |
getWhitespaceStartAKE() |
int |
hashCode() |
void |
setAllowV1(boolean value) |
void |
setAllowV2(boolean value) |
void |
setAllowV3(boolean value) |
void |
setEnableAlways(boolean value) |
void |
setEnableManual(boolean value) |
void |
setErrorStartAKE(boolean value) |
void |
setRequireEncryption(boolean value) |
void |
setSendWhitespaceTag(boolean value) |
void |
setWhitespaceStartAKE(boolean value) |
public OtrPolicyImpl()
public OtrPolicyImpl(int policy)
public boolean getAllowV1()
getAllowV1 in interface OtrPolicypublic boolean getAllowV2()
getAllowV2 in interface OtrPolicypublic boolean getAllowV3()
getAllowV3 in interface OtrPolicypublic boolean getErrorStartAKE()
getErrorStartAKE in interface OtrPolicypublic boolean getRequireEncryption()
getRequireEncryption in interface OtrPolicypublic boolean getSendWhitespaceTag()
getSendWhitespaceTag in interface OtrPolicypublic boolean getWhitespaceStartAKE()
getWhitespaceStartAKE in interface OtrPolicypublic void setAllowV1(boolean value)
setAllowV1 in interface OtrPolicypublic void setAllowV2(boolean value)
setAllowV2 in interface OtrPolicypublic void setAllowV3(boolean value)
setAllowV3 in interface OtrPolicypublic void setErrorStartAKE(boolean value)
setErrorStartAKE in interface OtrPolicypublic void setRequireEncryption(boolean value)
setRequireEncryption in interface OtrPolicypublic void setSendWhitespaceTag(boolean value)
setSendWhitespaceTag in interface OtrPolicypublic void setWhitespaceStartAKE(boolean value)
setWhitespaceStartAKE in interface OtrPolicypublic boolean getEnableAlways()
getEnableAlways in interface OtrPolicypublic void setEnableAlways(boolean value)
setEnableAlways in interface OtrPolicypublic boolean getEnableManual()
getEnableManual in interface OtrPolicypublic void setEnableManual(boolean value)
setEnableManual in interface OtrPolicyCopyright © 2015. All rights reserved.