Created
August 7, 2013 19:27
-
-
Save lennartkoopmann/6177606 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public ConfigurationRequest getRequestedConfiguration() { | |
ConfigurationRequest r = new ConfigurationRequest(); | |
r.addField(ConfigurationRequest.Templates.bindAddress(CK_BIND_ADDRESS)); | |
r.addField(ConfigurationRequest.Templates.portNumber(CK_PORT)); | |
r.addField(new TextField( | |
CK_OVERRIDE_SOURCE, | |
"Override source", | |
null, | |
"The source is a hostname derived from the received packet by default. Set this if you want to override " + | |
"it with a custom string.", | |
ConfigurationField.Optional.OPTIONAL | |
)); | |
return r; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment