User Tools

Site Tools


expres:fabric:evlbisystem:notificationservice

Notification Service

  • the general purpose notification service, used by all software components to inform VLBI Broker about certain events
  • Sender codes: the list of sender codes which should be used be software modules
    public enum Sender {
     
    	/** Sender code for Vlbi Broker module */
    	VLBI_BROKER("broker"),
     
    	/** Sender code for Translation Node module */
    	TRANSLATION_NODE("tn"),
     
    	/** Sender code for Correlatin Node module */
    	CORRELATION_NODE("cn"),
     
    	/** Sender code for Correlated Data Serrvice module */
    	CORRELATION_DATA_SERVICE("cds");
  • Notification state: used to inform about event type
    public enum State {
     
    	// -----------------------------------------------------
    	// ---- General state codes
     
    	/** OK - message received without error */
    	OK("state.ok", "state.ok.desc"),
     
    	/** There was an error while processing request */
    	ERROR("state.error", "state.error.desc"),
     
    	/** The task is done */
    	DONE("state.done", "state.done.desc"),
     
    	// -----------------------------------------------------
    	// ---- Translation Node states
     
    	/** Notification from translation node - chunk is ready */
    	TN_NOTIFICATION("state.tn.notification", "state.tn.notification.desc"),
     
    	// -----------------------------------------------------
    	// ---- Correlation Node states
     
    	/** Correlation job is queued and awaits execution */
    	CN_JOB_QUEUED("state.job.queued", "state.job.queued.desc"),
     
    	/** Correlation job is currently running on the cluster */
    	CN_JOB_RUNNING("state.job.running", "state.job.running.desc");
expres/fabric/evlbisystem/notificationservice.txt · Last modified: 2009/05/26 13:50 by 127.0.0.1