![]() |
BaltradDex
BALTRAD Data Exchange System
|
Public Member Functions | |
| void | userAccountResponse (String localNodeName, User user, int status) throws IOException |
| void | dataSourcesResponse (String localNodeName, List< DataSource > dataSources, int status) throws IOException |
| void | dataSourcesResponse (String localNodeName, Set< DataSource > dataSources, int status) throws IOException |
| void | subscriptionResponse (String localNodeName, List< Subscription > subscriptions, int status) throws IOException |
| void | messageResponse (String message, int status) |
| void | statusResponse (int status) |
Used for writing a response on a request.
| void eu.baltrad.dex.net.protocol.ResponseWriter.dataSourcesResponse | ( | String | localNodeName, |
| List< DataSource > | dataSources, | ||
| int | status ) throws IOException |
Sends a data source response
| localNodeName | the local node name |
| dataSources | the data sources |
| status | the status |
| IOException | upon error |
Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseWriter.
| void eu.baltrad.dex.net.protocol.ResponseWriter.dataSourcesResponse | ( | String | localNodeName, |
| Set< DataSource > | dataSources, | ||
| int | status ) throws IOException |
Sends a data source response
| localNodeName | the local node name |
| dataSources | the data sources |
| status | the status |
| IOException | upon error |
Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseWriter.
| void eu.baltrad.dex.net.protocol.ResponseWriter.messageResponse | ( | String | message, |
| int | status ) |
Sends a response with a reason
| message | the reason |
| status | the error message |
Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseWriter.
| void eu.baltrad.dex.net.protocol.ResponseWriter.statusResponse | ( | int | status | ) |
Sends a status as a response
| status | the status |
Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseWriter.
| void eu.baltrad.dex.net.protocol.ResponseWriter.subscriptionResponse | ( | String | localNodeName, |
| List< Subscription > | subscriptions, | ||
| int | status ) throws IOException |
Sends a subscription response
| localNodeName | the local node name |
| subscriptions | the subscriptions |
| status | the status |
| IOException | upon error |
Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseWriter.
| void eu.baltrad.dex.net.protocol.ResponseWriter.userAccountResponse | ( | String | localNodeName, |
| User | user, | ||
| int | status ) throws IOException |
Sends a user account response
| localNodeName | the local node name |
| user | the user |
| status | the http status |
| IOException | upon error |
Implemented in eu.baltrad.dex.net.protocol.impl.ProtocolVersionResponseWriter.