public interface OMRSTopic
| Modifier and Type | Method and Description |
|---|---|
void |
registerListener(OMRSTopicListener newListener)
Register a listener object.
|
void |
sendInstanceEvent(OMRSInstanceEvent event)
Sends the supplied event to the topic.
|
void |
sendRegistryEvent(OMRSRegistryEvent event)
Sends the supplied event to the topic.
|
void |
sendTypeDefEvent(OMRSTypeDefEvent event)
Sends the supplied event to the topic.
|
void |
setEventProtocolLevel(OMRSEventProtocolVersion eventProtocolVersion)
Setup the version of the protocol to use for events.
|
void setEventProtocolLevel(OMRSEventProtocolVersion eventProtocolVersion)
eventProtocolVersion - version enumvoid registerListener(OMRSTopicListener newListener)
newListener - object implementing the OMRSTopicListener interfacevoid sendRegistryEvent(OMRSRegistryEvent event) throws ConnectorCheckedException
event - OMRSRegistryEvent object containing the event properties.ConnectorCheckedException - the connector is not able to communicate with the event busvoid sendTypeDefEvent(OMRSTypeDefEvent event) throws ConnectorCheckedException
event - OMRSTypeDefEvent object containing the event properties.ConnectorCheckedException - the connector is not able to communicate with the event busvoid sendInstanceEvent(OMRSInstanceEvent event) throws ConnectorCheckedException
event - OMRSInstanceEvent object containing the event properties.ConnectorCheckedException - the connector is not able to communicate with the event busCopyright © 2018–2019 ODPi. All rights reserved.