public class ConfigPeerHandler extends FormHandler
FormHandler.Message_action, _context, _log, _method, _out, _requestWrapper, _session, _settings| Constructor and Description |
|---|
ConfigPeerHandler()Constructs the handler. |
| Modifier and Type | Method and Description |
|---|---|
protected void | processForm()Implement this to perform the final processing (in turn, adding formNotice
and formError messages, etc)
Will only be called if _action is non-null and the nonce is valid. |
void | setCapacity(String bonus)Set the capacity bonus. |
void | setPeer(String peer)Set the peer hash. |
void | setSpeed(String bonus)Set the speed bonus. |
_t, _t, _t, _x, addFormError, addFormError, addFormErrorNoEscape, addFormErrorNoEscape, addFormNotice, addFormNotice, addFormNoticeNoEscape, addFormNoticeNoEscape, getAllMessages, getErrors, getJettyString, getNotices, isAdvanced, setAction, setContextId, setNonce, setRequestWrapper, setSettings, storeMethod, storeSession, storeWriterprotected void processForm()
FormHandlerprocessForm in class FormHandlerpublic void setCapacity(String bonus)
bonus - the capacity bonus valuepublic void setPeer(String peer)
peer - the peerpublic void setSpeed(String bonus)
bonus - the speed bonus value