Package org.italiangrid.voms.request
Interface VOMSRequestListener
-
- All Known Implementing Classes:
NullListener
public interface VOMSRequestListenerA listener that informs about events related with a request to a VOMS server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyErrorsInVOMSReponse(VOMSACRequest request, VOMSServerInfo si, VOMSErrorMessage[] errors)Informs that errors were included in the VOMS response produced by a VOMS servervoidnotifyVOMSRequestFailure(VOMSACRequest request, VOMSServerInfo endpoint, java.lang.Throwable error)Informs of a VOMS request failurevoidnotifyVOMSRequestStart(VOMSACRequest request, VOMSServerInfo si)Informs of the start of a request to a VOMS servervoidnotifyVOMSRequestSuccess(VOMSACRequest request, VOMSServerInfo endpoint)Informs of the succesfull conclusion of a request to a VOMS servervoidnotifyWarningsInVOMSResponse(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, java.lang.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
-
-