SymbIoTeLibraries
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
eu.h2020.symbiote.client.AbstractSymbIoTeClientFactory Class Referenceabstract
Inheritance diagram for eu.h2020.symbiote.client.AbstractSymbIoTeClientFactory:
Inheritance graph
Collaboration diagram for eu.h2020.symbiote.client.AbstractSymbIoTeClientFactory:
Collaboration graph

Classes

class  Config
 
class  HomePlatformCredentials
 
enum  Type
 

Public Member Functions

abstract SearchClient getSearchClient ()
 
abstract CRAMClient getCramClient ()
 
abstract RHClient getRHClient (String platformId)
 
abstract RAPClient getRapClient ()
 
abstract PRClient getPRClient (String platformId)
 
abstract SMClient getSMClient (String platformId)
 
abstract IAAMClient getAAMClient (String platformId)
 
abstract void initializeInHomePlatforms (Set< HomePlatformCredentials > credentials) throws SecurityHandlerException
 

Static Public Member Functions

static AbstractSymbIoTeClientFactory getFactory (Config config) throws SecurityHandlerException, NoSuchAlgorithmException
 

Static Public Attributes

static final String CORE_INTERFACE_PATH = "/coreInterface"
 
static final String CORE_AAM_SUBPATH = CORE_INTERFACE_PATH
 

Detailed Description

Factory for creating a concreate symbIoTe client factory based on the provided configuration. For now there is just one concrete factory implementation, but we followed the abstract factory pattern to facilitate future extension

Author
Vasilis Glykantzis

Member Function Documentation

◆ getAAMClient()

abstract IAAMClient eu.h2020.symbiote.client.AbstractSymbIoTeClientFactory.getAAMClient ( String  platformId)
abstract

Get an Authentication and Authorization (AAM) client to communicate with an AAM of a specific platform

Parameters
platformIdthe platform which we want to communicate with
Returns
a AAM client

◆ getCramClient()

abstract CRAMClient eu.h2020.symbiote.client.AbstractSymbIoTeClientFactory.getCramClient ( )
abstract

Get a Core Resource Access Monitor (CRAM) Client for querying CRAM

Returns
a CRAM client

◆ getFactory()

static AbstractSymbIoTeClientFactory eu.h2020.symbiote.client.AbstractSymbIoTeClientFactory.getFactory ( Config  config) throws SecurityHandlerException, NoSuchAlgorithmException
static
Parameters
configthe configuration
Returns
a concrete symbIoTe client factory
Exceptions
SecurityHandlerExceptionon creation error (e.g. problem with the wallet)
NoSuchAlgorithmException

◆ getPRClient()

abstract PRClient eu.h2020.symbiote.client.AbstractSymbIoTeClientFactory.getPRClient ( String  platformId)
abstract

Get a Platform Registry (PR) client for communicating with the PR of a specific platform

Parameters
platformIdthe platform which we want to communicate with
Returns
a PR client

◆ getRapClient()

abstract RAPClient eu.h2020.symbiote.client.AbstractSymbIoTeClientFactory.getRapClient ( )
abstract

Get a Resource Access Proxy (RAP) client for communicating with RAPs of different platforms

Returns
a RAP client

◆ getRHClient()

abstract RHClient eu.h2020.symbiote.client.AbstractSymbIoTeClientFactory.getRHClient ( String  platformId)
abstract

Get a Registration Handler (RH) client for querying the RH of a specific platform

Parameters
platformIdthe platform which we want to communicate with
Returns
a RH client

◆ getSearchClient()

abstract SearchClient eu.h2020.symbiote.client.AbstractSymbIoTeClientFactory.getSearchClient ( )
abstract

Get a Search Client for querying Core Search

Returns
a Search client

◆ getSMClient()

abstract SMClient eu.h2020.symbiote.client.AbstractSymbIoTeClientFactory.getSMClient ( String  platformId)
abstract

Get a Subscription Manager (SM) client for querying the SM of a specific platform

Parameters
platformIdthe platform which we want to communicate with
Returns
a SM client

◆ initializeInHomePlatforms()

abstract void eu.h2020.symbiote.client.AbstractSymbIoTeClientFactory.initializeInHomePlatforms ( Set< HomePlatformCredentials >  credentials) throws SecurityHandlerException
abstract

Getting required certificates for home platforms. If the certificates are already present, they are reused

Parameters
credentialsa set of home platform credentials
Exceptions
SecurityHandlerException

The documentation for this class was generated from the following file: