congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Listeners
Code IndexAdd Tabnine 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)

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

  • Making http post requests using okhttp
  • getExternalFilesDir (Context)
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Collectors (java.util.stream)
  • Notification (javax.management)
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now