/[svn]/jsampler/trunk/src/org/jsampler/task/UpdateTotalVoiceCount.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/task/UpdateTotalVoiceCount.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1817 by iliev, Mon Apr 2 21:18:31 2007 UTC revision 1818 by iliev, Wed Dec 24 17:29:47 2008 UTC
# Line 45  public class UpdateTotalVoiceCount exten Line 45  public class UpdateTotalVoiceCount exten
45          }          }
46                    
47          /** The entry point of the task. */          /** The entry point of the task. */
48            @Override
49          public void          public void
50          run() {          run() {
51                  try {                  try {
# Line 56  public class UpdateTotalVoiceCount exten Line 57  public class UpdateTotalVoiceCount exten
57                          String msg = getDescription() + ": " + HF.getErrorMessage(x);                          String msg = getDescription() + ": " + HF.getErrorMessage(x);
58                          CC.getLogger().log(Level.INFO, msg, x);                          CC.getLogger().log(Level.INFO, msg, x);
59                  }                  }
60                            
61            }
62                    
63            /**
64             * Used to decrease the traffic. All task in the queue
65             * equal to this are removed if added using {@link org.jsampler.CC#scheduleTask}.
66             * @see org.jsampler.CC#addTask
67             */
68            @Override
69            public boolean
70            equals(Object obj) {
71                    if(obj == null) return false;
72                    if(!(obj instanceof UpdateTotalVoiceCount)) return false;
73                    
74                    return true;
75          }          }
76  }  }

Legend:
Removed from v.1817  
changed lines
  Added in v.1818

  ViewVC Help
Powered by ViewVC