Tabnine Logo
MsControlException.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
javax.media.mscontrol.MsControlException
constructor

Best Java code snippets using javax.media.mscontrol.MsControlException.<init> (Showing top 20 results out of 315)

origin: org.mobicents.jsr309/mobicents-jsr309-impl

public Player getPlayer() throws MsControlException {
  if (this.player != null) {
    return player;
  } else {
    throw new MsControlException(this.uri + " This MediaGroup contains no Player");
  }
}
origin: org.mobicents.media.client/jsr-309-driver

  public VxmlDialog createVxmlDialog(Parameters paramParameters) throws MsControlException {
    throw new MsControlException("VxmlDialog is not yet supported");
//        VxmlDialogImpl vxmlDialogImpl = new VxmlDialogImpl(this, mgcpWrapper, paramParameters);
//        return vxmlDialogImpl;
  }

origin: org.mobicents.media.client/jsr-309-driver

public Recorder getRecorder() throws MsControlException {
  if (this.recorder != null) {
    return this.recorder;
  } else {
    throw new MsControlException(this.uri + " This MediaGroup contains no Recorder");
  }
}
origin: org.mobicents.media.client/jsr-309-driver

public SignalDetector getSignalDetector() throws MsControlException {
  if (this.detector != null) {
    return this.detector;
  } else {
    throw new MsControlException(this.uri + " This MediaGroup contains no Signal Detector");
  }
}
origin: org.mobicents.jsr309/mobicents-jsr309-impl

  public VxmlDialog createVxmlDialog(Parameters paramParameters) throws MsControlException {
    throw new MsControlException("VxmlDialog is not yet supported");
//        VxmlDialogImpl vxmlDialogImpl = new VxmlDialogImpl(this, mgcpWrapper, paramParameters);
//        return vxmlDialogImpl;
  }

origin: org.mobicents.jsr309/mobicents-jsr309-impl

public SignalDetector getSignalDetector() throws MsControlException {
  if (this.detector != null) {
    return this.detector;
  } else {
    throw new MsControlException(this.uri + " This MediaGroup contains no Signal Detector");
  }
}
origin: org.mobicents.media.client/jsr-309-driver

public Player getPlayer() throws MsControlException {
  if (this.player != null) {
    return player;
  } else {
    throw new MsControlException(this.uri + " This MediaGroup contains no Player");
  }
}
origin: org.mobicents.jsr309/mobicents-jsr309-impl

public Recorder getRecorder() throws MsControlException {
  if (this.recorder != null) {
    return this.recorder;
  } else {
    throw new MsControlException(this.uri + " This MediaGroup contains no Recorder");
  }
}
origin: org.mobicents.jsr309/mobicents-jsr309-impl

public SignalGenerator getSignalGenerator() throws MsControlException {
  if (this.generator != null) {
    return this.generator;
  } else {
    throw new MsControlException(this.uri + " This MediaGroup contains no Signal Generator");
  }
}
origin: org.mobicents.jsr309/mobicents-jsr309-impl

private void checkURI(URI[] uris) throws MsControlException {
  if (uris == null) {
    throw new MsControlException("URI[] cannot be null");
  }
  for (URI uri : uris) {
    if (uri == null) {
      throw new MsControlException("URI cannot be null");
    }
    if (uri.getScheme().equalsIgnoreCase("data")) {
      continue;
    }
  }
}
origin: org.mobicents.media.client/jsr-309-driver

public MediaMixer createMediaMixer(Configuration<MediaMixer> pattern) throws MsControlException {
  if (pattern == null) {
    throw new MsControlException("Configuration is NULL");
  }
  
  MediaConfigImpl config = (MediaConfigImpl) factory.getMediaConfig(pattern);
  if (config == null) {
    throw new MsControlException("Configuration is not supported: " + pattern);
  }
  MediaMixerImpl mixer = new MediaMixerImpl(this, config);
  mixers.add(mixer);
  return mixer;
}
origin: org.mobicents.jsr309/mobicents-jsr309-impl

public MediaGroup createMediaGroup(Configuration<MediaGroup> pattern) throws MsControlException {
  if (pattern == null) {
    throw new MsControlException("Configuration is NULL");
  }
  
  MediaConfigImpl config = (MediaConfigImpl) factory.getMediaConfig(pattern);
  if (config == null) {
    throw new MsControlException("Configuration is not supported: " + pattern);
  }
  MediaGroup group = new MediaGroupImpl(this, config);
  groups.add(group);
  return group;
}
origin: org.mobicents.media.client/jsr-309-driver

public MediaGroup createMediaGroup(Configuration<MediaGroup> pattern) throws MsControlException {
  if (pattern == null) {
    throw new MsControlException("Configuration is NULL");
  }
  
  MediaConfigImpl config = (MediaConfigImpl) factory.getMediaConfig(pattern);
  if (config == null) {
    throw new MsControlException("Configuration is not supported: " + pattern);
  }
  MediaGroup group = new MediaGroupImpl(this, config);
  groups.add(group);
  return group;
}
origin: org.mobicents.jsr309/mobicents-jsr309-impl

public MediaMixer createMediaMixer(Configuration<MediaMixer> pattern) throws MsControlException {
  if (pattern == null) {
    throw new MsControlException("Configuration is NULL");
  }
  
  MediaConfigImpl config = (MediaConfigImpl) factory.getMediaConfig(pattern);
  if (config == null) {
    throw new MsControlException("Configuration is not supported: " + pattern);
  }
  MediaMixerImpl mixer = new MediaMixerImpl(this, config);
  mixers.add(mixer);
  return mixer;
}
origin: org.mobicents.jsr309/mobicents-jsr309-impl

public MixerAdapter createMixerAdapter(MediaConfig config, Parameters params)  throws MsControlException {        
  if (config == null) {
    throw new MsControlException("MediaConfig cannot be null");
  }
  
  MediaConfig cfg = ((MediaConfigImpl)config).createCustomizedClone(params);
  Boolean hasDtmfClamp=false;
  if (config == MixerAdapter.DTMF_CLAMP)
    hasDtmfClamp=true;	
  
  MixerAdapterImpl adaptor = new MixerAdapterImpl(this,params,hasDtmfClamp);
  adaptors.add(adaptor);
  return adaptor;
}
origin: org.mobicents.media.client/jsr-309-driver

public MixerAdapter createMixerAdapter(MediaConfig config, Parameters params)  throws MsControlException {        
  if (config == null) {
    throw new MsControlException("MediaConfig cannot be null");
  }
  
  MediaConfig cfg = ((MediaConfigImpl)config).createCustomizedClone(params);
  Boolean hasDtmfClamp=false;
  if (config == MixerAdapter.DTMF_CLAMP)
    hasDtmfClamp=true;	
  
  MixerAdapterImpl adaptor = new MixerAdapterImpl(this,params,hasDtmfClamp);
  adaptors.add(adaptor);
  return adaptor;
}
origin: org.mobicents.media.client/jsr-309-driver

public JoinableStream getJoinableStream(StreamType value) throws MsControlException {
  for (MediaStreamImpl s : streams) {
    if (s.getType().equals(value)) {
      return s;
    }
  }
  throw new MsControlException("Stream of type " + value + " is not supported");
}
origin: org.mobicents.jsr309/mobicents-jsr309-impl

public JoinableStream getJoinableStream(StreamType value) throws MsControlException {
  for (MediaStreamImpl s : streams) {
    if (s.getType().equals(value)) {
      return s;
    }
  }
  throw new MsControlException("Stream of type " + value + " is not supported");
}
origin: org.mobicents.jsr309/mobicents-jsr309-impl

public MixerAdapter createMixerAdapter(Configuration<MixerAdapter> pattern, Parameters param)  throws MsControlException {
  if (config == null) {
    throw new MsControlException("Configuration can't be null");
  }
  
  MediaConfigImpl cfg = (MediaConfigImpl) getConfiguration(pattern).createCustomizedClone(param);
  MixerAdapterImpl adaptor = new MixerAdapterImpl(this,param);
  adaptors.add(adaptor);
  return adaptor;
}
origin: org.mobicents.media.client/jsr-309-driver

public MixerAdapter createMixerAdapter(Configuration<MixerAdapter> pattern, Parameters param)  throws MsControlException {
  if (config == null) {
    throw new MsControlException("Configuration can't be null");
  }
  
  MediaConfigImpl cfg = (MediaConfigImpl) getConfiguration(pattern).createCustomizedClone(param);
  MixerAdapterImpl adaptor = new MixerAdapterImpl(this,param);
  adaptors.add(adaptor);
  return adaptor;
}
javax.media.mscontrolMsControlException<init>

Popular methods of MsControlException

  • printStackTrace
  • getMessage

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • startActivity (Activity)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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