public class AssetConsumerOutTopicClientConnector extends ConnectorBase implements AssetConsumerEventInterface
ConnectorBase.ProtectedConnectionconnectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, isActive, securedProperties| Constructor and Description |
|---|
AssetConsumerOutTopicClientConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerListener(String userId,
AssetConsumerEventListener listener)
Register a listener object that will be passed each of the events published by
the Asset Consumer OMAS.
|
disconnect, equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, isActive, start, toStringpublic AssetConsumerOutTopicClientConnector()
public void registerListener(String userId, AssetConsumerEventListener listener) throws InvalidParameterException, ConnectionCheckedException, ConnectorCheckedException, PropertyServerException, UserNotAuthorizedException
registerListener in interface AssetConsumerEventInterfaceuserId - 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.