@Override public synchronized void start() { super.start(); log.debug("ControlThread:: Starting control thread..."); if (cp != null) { cp.spawn(); } }
@Override public void interrupt() { log.debug("ControlThread:: Interrupting " + this.getName() + "..."); cp.dispose(); super.interrupt(); }
public MessagingName getMessagingName() { return cp.getMessagingName(); }
public void sendControlMessage(String toName, String op, Object content) { cp.send(new MessagingName(toName), op, content); }
public String getQueueName() { return cp.getInQueue(); }