public interface BrokerBackend extends Broker
| Modifier and Type | Method and Description |
|---|---|
Principal |
accessPrincipal(String nodeKey,
String clientDn)
Add or retrieve the node principal.
|
void |
clearDataDirectory() |
void |
setBrokerDB(DataSource brokerDB) |
void |
updateNodeLastSeen(int[] nodeIds,
long[] timestamps) |
void |
updateNodeResource(int nodeId,
String resourceId,
javax.ws.rs.core.MediaType mediaType,
InputStream content) |
clearRequestTargets, createRequest, createRequest, deleteRequest, getAllNodes, getNode, getNodeResource, getRequestDefinition, getRequestInfo, getRequestNodeStatusMessage, getRequestTargets, getRequestTypes, listAllRequests, listRequestNodeStatus, listRequestsForNode, markRequestDeletedForNode, setRequestClosed, setRequestDefinition, setRequestNodeStatus, setRequestNodeStatusMessage, setRequestPublished, setRequestTargetsvoid setBrokerDB(DataSource brokerDB)
Principal accessPrincipal(String nodeKey, String clientDn) throws SQLException
nodeKey - unique key for the node. E.g. Certificate serial number or API keyclientDn - optional X500 client DN stringSQLException - SQL errorvoid updateNodeLastSeen(int[] nodeIds,
long[] timestamps)
throws SQLException
SQLExceptionvoid updateNodeResource(int nodeId,
String resourceId,
javax.ws.rs.core.MediaType mediaType,
InputStream content)
throws SQLException,
IOException
SQLExceptionIOExceptionvoid clearDataDirectory()
throws IOException
IOExceptionCopyright © 2014–2019 Uniklinik RWTH Aachen. All rights reserved.