Interface RxPep<T>
-
- Type Parameters:
T
- the generic type
- All Known Implementing Classes:
AbstractRxPep
,ReactivePep
public interface RxPep<T>
Reactive Pep interface Created by chattapa on 10/23/16.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
createInstanceAPI()
rx.Observable<Boolean>
doRegisterAtPMP()
Registers the Pep at PMP.de.fraunhofer.iese.mydata.component.interfaces.IPolicyEnforcementPoint
getPolicyEnforcementPoint()
It returns a valid instance ofIPolicyEnforcementPoint
RxPepState
getState()
Returns one of the following RxPep states: REGISTRATION_DONE_SUCCESSFULLY: Pep is already registered at PMP. REGISTRATION_FAILED: Pep failed to register at PMP. REGISTRATION_NOT_STARTED: Registration has not been started yet and Pep needs to be initialized for the registration to be started. REGISTRATION_UNDER_PROCESS: Registration is being processed.
-
-
-
Method Detail
-
createInstanceAPI
T createInstanceAPI()
- Returns:
- the generic type
-
doRegisterAtPMP
rx.Observable<Boolean> doRegisterAtPMP()
Registers the Pep at PMP.- Returns:
- true if Pep is registered at PMP and returns false if Pep had been registered before or registration is failed.
-
getPolicyEnforcementPoint
de.fraunhofer.iese.mydata.component.interfaces.IPolicyEnforcementPoint getPolicyEnforcementPoint()
It returns a valid instance ofIPolicyEnforcementPoint
- Returns:
IPolicyEnforcementPoint
-
getState
RxPepState getState()
Returns one of the following RxPep states:- REGISTRATION_DONE_SUCCESSFULLY: Pep is already registered at PMP.
- REGISTRATION_FAILED: Pep failed to register at PMP.
- REGISTRATION_NOT_STARTED: Registration has not been started yet and Pep needs to be initialized for the registration to be started.
- REGISTRATION_UNDER_PROCESS: Registration is being processed.
- Returns:
- the current RxPep state
-
-