Package org.italiangrid.voms.request
Interface VOMSRequestListener
-
- All Known Implementing Classes:
NullListener
public interface VOMSRequestListener
A listener that informs about events related with a request to a VOMS server.- Author:
- andreaceccanti
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
notifyErrorsInVOMSReponse(VOMSACRequest request, VOMSServerInfo si, VOMSErrorMessage[] errors)
Informs that errors were included in the VOMS response produced by a VOMS servervoid
notifyVOMSRequestFailure(VOMSACRequest request, VOMSServerInfo endpoint, Throwable error)
Informs of a VOMS request failurevoid
notifyVOMSRequestStart(VOMSACRequest request, VOMSServerInfo si)
Informs of the start of a request to a VOMS servervoid
notifyVOMSRequestSuccess(VOMSACRequest request, VOMSServerInfo endpoint)
Informs of the succesfull conclusion of a request to a VOMS servervoid
notifyWarningsInVOMSResponse(VOMSACRequest request, VOMSServerInfo si, VOMSWarningMessage[] warnings)
Informs that warnings were included in the VOMS response produced by a VOMS server
-
-
-
Method Detail
-
notifyVOMSRequestStart
void notifyVOMSRequestStart(VOMSACRequest request, VOMSServerInfo si)
Informs of the start of a request to a VOMS server- Parameters:
request
- the requestsi
- the VOMS server endpoint information
-
notifyVOMSRequestSuccess
void notifyVOMSRequestSuccess(VOMSACRequest request, VOMSServerInfo endpoint)
Informs of the succesfull conclusion of a request to a VOMS server- Parameters:
request
- the requestendpoint
- the VOMS server endpoint information
-
notifyVOMSRequestFailure
void notifyVOMSRequestFailure(VOMSACRequest request, VOMSServerInfo endpoint, Throwable error)
Informs of a VOMS request failure- Parameters:
request
- the requestendpoint
- the VOMS server endpoint informationerror
- the error related with the failure
-
notifyErrorsInVOMSReponse
void notifyErrorsInVOMSReponse(VOMSACRequest request, VOMSServerInfo si, VOMSErrorMessage[] errors)
Informs that errors were included in the VOMS response produced by a VOMS server- Parameters:
request
- the request related to the received responsesi
- the VOMS server endpoint informationerrors
- the error messages included in the response
-
notifyWarningsInVOMSResponse
void notifyWarningsInVOMSResponse(VOMSACRequest request, VOMSServerInfo si, VOMSWarningMessage[] warnings)
Informs that warnings were included in the VOMS response produced by a VOMS server- Parameters:
request
- the request related to the received responsesi
- the VOMS server endpoint informationwarnings
- the warning messages included in the response
-
-