Tabnine Logo
AuditEndpoint.setRequestedInfo
Code IndexAdd Tabnine to your IDE (free)

How to use
setRequestedInfo
method
in
jain.protocol.ip.mgcp.message.AuditEndpoint

Best Java code snippets using jain.protocol.ip.mgcp.message.AuditEndpoint.setRequestedInfo (Showing top 3 results out of 315)

origin: org.mobicents.jain/mobicents-mgcp-impl

/**
 * Receive notification of the parameter of a message. Parser will call
 * this method to report about parameter reading.
 * 
 * @param name
 *            the name of the parameter
 * @param value
 *            the value of the parameter.
 */
public void param(String name, String value) throws ParseException {
  if (name.equalsIgnoreCase("F")) {
    command.setRequestedInfo(utils.decodeInfoCodeList(value));
  } else {
    logger.error("Unknown code " + name);
  }
}
origin: ua.mobius.media.client/mgcp-driver

/**
 * Receive notification of the parameter of a message. Parser will call
 * this method to report about parameter reading.
 * 
 * @param name
 *            the name of the parameter
 * @param value
 *            the value of the parameter.
 */
public void param(byte[] data,SplitDetails name,SplitDetails value) throws ParseException 
{
  if(name.getLength()!=1)
    logger.warn("Unidentified AUEP Request parameter " + new String(data,name.getOffset(),name.getLength()) + " with value = " + new String(data,value.getOffset(),value.getLength()));
  else
  {
    switch(data[name.getOffset()])
    {
      case StringFunctions.LOW_F_BYTE:
      case StringFunctions.HIGH_F_BYTE:
        command.setRequestedInfo(InfoCodeHandler.decodeList(data,value.getOffset(),value.getLength()));
        break;
      default:
        logger.warn("Unidentified AUEP Request parameter " + new String(data,name.getOffset(),name.getLength()) + " with value = " + new String(data,value.getOffset(),value.getLength()));
        break;
    }
  }            
}
origin: org.mobicents.media.client/mgcp-driver

/**
 * Receive notification of the parameter of a message. Parser will call
 * this method to report about parameter reading.
 * 
 * @param name
 *            the name of the parameter
 * @param value
 *            the value of the parameter.
 */
public void param(byte[] data,SplitDetails name,SplitDetails value) throws ParseException 
{
  if(name.getLength()!=1)
    logger.warn("Unidentified AUEP Request parameter " + new String(data,name.getOffset(),name.getLength()) + " with value = " + new String(data,value.getOffset(),value.getLength()));
  else
  {
    switch(data[name.getOffset()])
    {
      case StringFunctions.LOW_F_BYTE:
      case StringFunctions.HIGH_F_BYTE:
        command.setRequestedInfo(InfoCodeHandler.decodeList(data,value.getOffset(),value.getLength()));
        break;
      default:
        logger.warn("Unidentified AUEP Request parameter " + new String(data,name.getOffset(),name.getLength()) + " with value = " + new String(data,value.getOffset(),value.getLength()));
        break;
    }
  }            
}
jain.protocol.ip.mgcp.messageAuditEndpointsetRequestedInfo

Popular methods of AuditEndpoint

  • <init>
  • getEndpointIdentifier
  • getRequestedInfo
  • setTransactionHandle
  • getTransactionHandle

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • From CI to AI: The AI layer in your organization
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