![]() |
BaltradDex
BALTRAD Data Exchange System
|
Public Member Functions | |
| DataSourceListController () | |
| String | nodeConnect (Model model) |
| String | nodeConnected (Model model, @RequestParam(value="node_select", required=false) String nodeSelect, @RequestParam(value="url_input", required=false) String urlInput, @RequestParam(value="connect", required=false) String connect, @RequestParam(value="send_key", required=false) String sendKey) |
| String | selectedDataSources (HttpServletRequest request, Model model, @RequestParam(value="selected_data_sources", required=false) String[] selectedDataSources, @RequestParam(value="peer_name", required=true) String peerName) |
| void | setConfigurationManager (IConfigurationManager confManager) |
| void | setUserManager (IUserManager userManager) |
| void | setUrlValidator (UrlValidatorUtil urlValidator) |
| void | setModelMessageHelper (ModelMessageHelper messageHelper) |
| void | setAuthenticator (Authenticator authenticator) |
| void | setHttpClient (IHttpClientUtil httpClient) |
| void | setLog (Logger log) |
| void | setProtocolManager (ProtocolManager protocolManager) |
| MessageResourceUtil | getMessages () |
| void | setMessages (MessageResourceUtil messages) |
Protected Member Functions | |
| void | initConfiguration () |
| String | extractBaseUrlFromRedirect (String baseURI, String originURI, String redirectURI) |
| String | nodeConnected_connect (Model model, String nodeSelect, String urlInput) |
| byte[] | createLocalPubKeyZip () |
Protected Attributes | |
| Map< String, DataSource > | peerDataSources |
| User | localNode |
Controls access to data sources available at the peer node for subscription.
|
inline |
Default constructor.
|
inlineprotected |
Packs the local public key
|
inlineprotected |
Initializes controller with current configuration
|
inline |
Renders initial connect view.
| model | Model |
|
inline |
Sends data source listing request to the server.
| model | Model |
| nodeSelect | Node name selected from the drop-down list |
| urlInput | URL typed in the text box |
|
inlineprotected |
Handles when connect is pressed
| model | the model |
| nodeSelect | the |
| urlInput |
|
inline |
Allows to select data sources at a peer node.
| model | Model |
| selectedDataSources | Data sources selected for subscription |
|
inline |
| authenticator | the authenticator to set |
|
inline |
| configurationManager |
|
inline |
| httpClient | the httpClient to set |
|
inline |
| log | the log to set |
|
inline |
| protocolManager | the protocol manager to use |
|
inline |
| urlValidator | the urlValidator to set |
|
inline |
| userManager | the userManager to set |