Codota Logo
Listeners
Code IndexAdd Codota to your IDE (free)

How to use
Listeners
in
ua.mobius.media.server.spi.listener

Best Java code snippets using ua.mobius.media.server.spi.listener.Listeners (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: ua.mobius.media.resources/dtmf

public void addListener(final DtmfGeneratorListener listener) 
{
  try 
  {
   listeners.add(listener);
  } 
  catch(final TooManyListenersException ignored) 
  {
   // This exception is never thrown by Listeners.add();
  }
}
origin: ua.mobius.media.resources/player

@Override
public long perform() {
  listeners.dispatch(event);        	
  return 0;
}
origin: ua.mobius.media/core

/**
 * (Non Java-doc).
 *
 * @see ua.mobius.media.server.spi.Connection#removeListener(ua.mobius.media.server.spi.ConnectionListener)
 */
public void removeListener(ConnectionListener listener) {
  listeners.remove(listener);
}
origin: ua.mobius.media.resources/dtmf

public void clearAllListeners() 
{
  listeners.clear();
}
  
origin: ua.mobius.media.resources/dtmf

public GeneratorImpl(String name, Scheduler scheduler,Boolean growEndDuration,int endTonePackets) {
  super(name, scheduler,scheduler.INPUT_QUEUE);        
  dt = 1.0 / linear.getSampleRate();
  
  this.input=new AudioInput(ComponentType.DTMF_GENERATOR.getType(),packetSize);
  this.connect(this.input);
  
  this.oobInput=new OOBInput(ComponentType.DTMF_GENERATOR.getType());
  this.connect(this.oobInput);
  
  this.listeners = new Listeners<DtmfGeneratorListener>();
  
  this.growEndDuration=growEndDuration;
  this.endTonePackets=endTonePackets;
}
origin: ua.mobius.media.resources/tones

public void clearAllListeners() {
  listeners.clear();
}
 
origin: ua.mobius.media.resources/tones

  private void sendEvent(Event event)
  {
    listeners.dispatch(event);    	
  }    
}
origin: ua.mobius.media.resources/recorder

/**
 * (Non Java-doc.)
 * 
 * @see ua.mobius.media.server.spi.recorder.Recorder#removeListener(ua.mobius.media.server.spi.recorder.RecorderListener) 
 */
public void removeListener(RecorderListener listener) {
  listeners.remove(listener);
}
 
origin: ua.mobius.media.resources/dtmf

/**
 * (Non Java-doc.)
 * 
 * @see ua.mobius.media.Component#addListener(NotificationListener). 
 */
public void addListener(DtmfDetectorListener listener) throws TooManyListenersException {
  listeners.add(listener);    	       
}
origin: ua.mobius.media.resources/recorder

public void clearAllListeners() {
  listeners.clear();
}
/**
origin: ua.mobius.media.resources/recorder

@Override
public long perform() {
  listeners.dispatch(event);        	
  return 0;
}
origin: ua.mobius.media.controls/mgcp

/**
 * Unregisters event listener.
 * 
 * @param listener the event listener instance to be unregistered.
 */
public void removeListener(MgcpListener listener) {
  listeners.remove(listener);
}
 
origin: ua.mobius.media.controls/mgcp

/**
 * Registers new even listener.
 * 
 * @param listener the listener instance to be registered.
 * @throws TooManyListenersException 
 */
public void addListener(MgcpListener listener) throws TooManyListenersException {
  listeners.add(listener);
}
 
origin: ua.mobius.media.resources/dtmf

public void clearAllListeners() {
  listeners.clear();
}
 
origin: ua.mobius.media.resources/dtmf

@Override 
public void completed() 
{
  super.completed();
  listeners.dispatch(event);
}
 
origin: ua.mobius.media.resources/dtmf

public void removeListener(final DtmfGeneratorListener listener) 
{
  listeners.remove(listener);
}
origin: ua.mobius.media.resources/recorder

/**
 * (Non Java-doc.)
 * 
 * @see ua.mobius.media.server.spi.recorder.Recorder#addListener(ua.mobius.media.server.spi.recorder.RecorderListener) 
 */
public void addListener(RecorderListener listener) throws TooManyListenersException {
  listeners.add(listener);
}
origin: ua.mobius.media.resources/player

public void clearAllListeners() {
  listeners.clear();
}
 
origin: ua.mobius.media.controls/mgcp

  logger.debug("Dispatching message");
listeners.dispatch(evt);
origin: ua.mobius.media.resources/tones

public void removeListener(ToneDetectorListener listener)
{        
  listeners.remove(listener);
}
 
ua.mobius.media.server.spi.listenerListeners

Most used methods

  • add
  • dispatch
  • remove
  • clear
  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • orElseThrow (Optional)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • JOptionPane (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now