public interface DiscoveryEngineEventInterface
| Modifier and Type | Method and Description |
|---|---|
void |
registerListener(String userId,
DiscoveryEngineEventListener listener)
Register a listener object that will be passed each of the events published by
the Discovery Engine OMAS.
|
void registerListener(String userId, DiscoveryEngineEventListener listener) throws InvalidParameterException, ConnectionCheckedException, ConnectorCheckedException, PropertyServerException, UserNotAuthorizedException
userId - calling userlistener - listener objectInvalidParameterException - one of the parameters is null or invalid.ConnectionCheckedException - there are errors in the configuration of the connection which is preventing
the creation of a connector.ConnectorCheckedException - there are errors in the initialization of the connector.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.