1 package org.oransc.policyagent.dmaap;
3 import java.util.Properties;
6 * The Dmaap consumer which has the base methods to be implemented by any class
7 * which implements this interface
10 public interface DmaapMessageConsumer extends Runnable {
12 public void init(Properties baseProperties);
14 public abstract void processMsg(String msg) throws Exception;
16 public boolean isReady();
18 public boolean isRunning();
20 public void stopConsumer();