org.cogchar.integroid.jmxwrap
Class IntegroidWrapper

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.cogchar.integroid.jmxwrap.NotifyingBeanImpl
          extended by org.cogchar.integroid.jmxwrap.IntegroidWrapper
All Implemented Interfaces:
NotificationBroadcaster, NotificationEmitter, IntegroidWrapperMXBean, CueListener, JobListener

public class IntegroidWrapper
extends NotifyingBeanImpl
implements IntegroidWrapperMXBean, JobListener, CueListener

Author:
Stu Baurmann

Field Summary
 
Fields inherited from class org.cogchar.integroid.jmxwrap.NotifyingBeanImpl
myObjectName
 
Fields inherited from interface org.cogchar.integroid.jmxwrap.IntegroidWrapperMXBean
ATTRIB_CUE_CLEARED, ATTRIB_CUE_POSTED, ATTRIB_CUE_UPDATED, ATTRIB_JOB_CLEARED, ATTRIB_JOB_POSTED, ATTRIB_JOB_UPDATED, INTEGROID_JMX_OBJNAME
 
Constructor Summary
IntegroidWrapper(IntegroidFacade igf, ObjectName on)
           
 
Method Summary
static IntegroidWrapper createAndRegister(IntegroidFacade igf)
           
 Object mapJobNoticeObject(JobStub j)
           
 void notifyCueCleared(CueStub c)
           
 void notifyCuePosted(CueStub c)
           
 void notifyCueUpdated(CueStub c)
           
 void notifyJobCleared(JobStub j)
           
 void notifyJobPosted(JobStub j)
           
 void postHeardCue(String text)
           
 void postTextCue(String channel, String textData, double strength)
           
 void postThoughtCue(String thoughtName, double strength)
           
 void postVariableCue(String name, String value, double strength)
           
 void postVerbalCue(Map<String,Double> meanings, double strength)
           
 
Methods inherited from class org.cogchar.integroid.jmxwrap.NotifyingBeanImpl
getNotificationInfo, register, sendAttributeChangeNotification
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegroidWrapper

public IntegroidWrapper(IntegroidFacade igf,
                        ObjectName on)
Method Detail

createAndRegister

public static IntegroidWrapper createAndRegister(IntegroidFacade igf)
                                          throws Throwable
Throws:
Throwable

postVerbalCue

public void postVerbalCue(Map<String,Double> meanings,
                          double strength)
Specified by:
postVerbalCue in interface IntegroidWrapperMXBean

postThoughtCue

public void postThoughtCue(String thoughtName,
                           double strength)
Specified by:
postThoughtCue in interface IntegroidWrapperMXBean

postTextCue

public void postTextCue(String channel,
                        String textData,
                        double strength)
Specified by:
postTextCue in interface IntegroidWrapperMXBean

postVariableCue

public void postVariableCue(String name,
                            String value,
                            double strength)
Specified by:
postVariableCue in interface IntegroidWrapperMXBean

postHeardCue

public void postHeardCue(String text)
Specified by:
postHeardCue in interface IntegroidWrapperMXBean

notifyCuePosted

public void notifyCuePosted(CueStub c)
Specified by:
notifyCuePosted in interface CueListener

notifyCueUpdated

public void notifyCueUpdated(CueStub c)
Specified by:
notifyCueUpdated in interface CueListener

notifyCueCleared

public void notifyCueCleared(CueStub c)
Specified by:
notifyCueCleared in interface CueListener

notifyJobPosted

public void notifyJobPosted(JobStub j)
Specified by:
notifyJobPosted in interface JobListener

notifyJobCleared

public void notifyJobCleared(JobStub j)
Specified by:
notifyJobCleared in interface JobListener

mapJobNoticeObject

public Object mapJobNoticeObject(JobStub j)


Copyright © 2010-2012. All Rights Reserved.