diff options
Diffstat (limited to 'policy-endpoints/src/main/java/org/openecomp/policy/drools/event/comm/TopicSink.java')
-rw-r--r-- | policy-endpoints/src/main/java/org/openecomp/policy/drools/event/comm/TopicSink.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/policy-endpoints/src/main/java/org/openecomp/policy/drools/event/comm/TopicSink.java b/policy-endpoints/src/main/java/org/openecomp/policy/drools/event/comm/TopicSink.java index 2250b1ea..c2c47798 100644 --- a/policy-endpoints/src/main/java/org/openecomp/policy/drools/event/comm/TopicSink.java +++ b/policy-endpoints/src/main/java/org/openecomp/policy/drools/event/comm/TopicSink.java @@ -20,22 +20,20 @@ package org.openecomp.policy.drools.event.comm; -import org.openecomp.policy.drools.properties.Lockable; -import org.openecomp.policy.drools.properties.Startable; - /** * Marks a given Topic Endpoint as able to send messages over a topic */ -public interface TopicSink extends Topic, Startable, Lockable { +public interface TopicSink extends Topic { /** * Sends a string message over this Topic Endpoint * * @param message message to send + * * @return true if the send operation succeeded, false otherwise * @throws IllegalArgumentException an invalid message has been provided * @throws IllegalStateException the entity is in an state that prevents - * it from sending messages, for example, locked or stopped. + * it from sending messages, for example, locked or stopped. */ public boolean send(String message) throws IllegalArgumentException, IllegalStateException; |