* confignet: Add UDP disable option

This commit is contained in:
zzz
2012-01-27 18:55:41 +00:00
parent 65504e8660
commit b54c9fd2c1
4 changed files with 34 additions and 0 deletions

View File

@ -135,6 +135,16 @@ public class ConfigNetHelper extends HelperBase {
return "";
}
/**
* default false, inverse of default true property
* @since 0.8.13
*/
public String getUdpDisabledChecked() {
if (!_context.getBooleanPropertyDefaultTrue(TransportManager.PROP_ENABLE_UDP))
return CHECKED;
return "";
}
public String getRequireIntroductionsChecked() {
short status = _context.commSystem().getReachabilityStatus();
switch (status) {