Tabnine Logo
javax.slee.resource
Code IndexAdd Tabnine to your IDE (free)

How to use javax.slee.resource

Best Java code snippets using javax.slee.resource (Showing top 20 results out of 315)

origin: org.mobicents.resources/mobicents-slee-ra-tftp-server-ra

public void raConfigure(ConfigProperties properties) {
  port_ = DEFAULT_TFTP_PORT;
  if (properties.getProperty(PORT_CONFIG_PROPERTY) != null)
    port_ = (Integer) properties.getProperty(PORT_CONFIG_PROPERTY).getValue();
  mode_ = ServerMode.GET_AND_PUT;
}
origin: org.mobicents.resources/mobicents-slee-ra-diameter-s6a-ra

private static int getEventFlags() {
 int eventFlags = EventFlags.REQUEST_EVENT_UNREFERENCED_CALLBACK;
 eventFlags = EventFlags.setRequestProcessingFailedCallback(eventFlags);
 eventFlags = EventFlags.setRequestProcessingSuccessfulCallback(eventFlags);
 return eventFlags;
}
private static final int DEFAULT_ACTIVITY_FLAGS = ActivityFlags.setRequestSleeActivityGCCallback(ActivityFlags.REQUEST_ENDED_CALLBACK);
origin: org.mobicents.resources/restcomm-slee-ra-diameter-rx-ra

/**
 * {@inheritDoc}
 */
@Override
public void endActivity(DiameterActivityHandle arg0) {
 sleeEndpoint.endActivity(arg0);
}
origin: org.restcomm.resources/restcomm-slee-ra-cap-ra

public void raConfigure(ConfigProperties properties) {
  try {
    if (tracer.isInfoEnabled()) {
      tracer.info("Configuring CAP RA: " + this.resourceAdaptorContext.getEntityName());
    }
    this.capJndi = (String) properties.getProperty(CONF_CAP_JNDI).getValue();
  } catch (Exception e) {
    tracer.severe("Configuring of CAP RA failed ", e);
  }
}
origin: org.mobicents.resources/mobicents-slee-ra-isup-ra

public void raVerifyConfiguration(ConfigProperties configProperties) throws InvalidConfigurationException {
  try {
    if (tracer.isInfoEnabled()) {
        tracer.info("Verifying configuring ISUPA: " + this.raContext.getEntityName());
    }
    this.isupJndi = (String) configProperties.getProperty(CONF_ISUP_JNDI).getValue();
    if (this.isupJndi == null) {
        throw new InvalidConfigurationException("ISUP JNDI lookup name cannot be null");
    }
  } catch (Exception e) {
    throw new InvalidConfigurationException("Failed to test configuration options!", e);
  }
}
origin: org.mobicents.core/mobicents-core-jar

public void handleActivityCreatedBySbb(TCKActivityID activityID)
    throws TCKTestErrorException, RemoteException {
  try {
    sleeEndpoint.activityStarted(new TCKActivityHandle(activityID));
  } catch (ActivityAlreadyExistsException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
  } catch (CouldNotStartActivityException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
  }
}
origin: org.mobicents.resources/restcomm-slee-ra-tcap-ra

public void raConfigure(ConfigProperties properties) {
  try {
    if (tracer.isInfoEnabled()) {
      tracer.info("Configuring TCAP RA: " + this.resourceAdaptorContext.getEntityName());
    }
    this.tcapJndi = (String) properties.getProperty(CONF_TCAP_JNDI).getValue();
  } catch (Exception e) {
    tracer.severe("Configuring of MAP RA failed ", e);
  }
}
origin: org.mobicents.resources/mobicents-slee-ra-cap-ra

public void raVerifyConfiguration(ConfigProperties properties) throws InvalidConfigurationException {
  try {
    if (tracer.isInfoEnabled()) {
      tracer.info("Verifying configuring CAP RA: " + this.resourceAdaptorContext.getEntityName());
    }
    this.capJndi = (String) properties.getProperty(CONF_CAP_JNDI).getValue();
    if (this.capJndi == null) {
      throw new InvalidConfigurationException("CAP JNDI lookup name cannot be null");
    }
  } catch (Exception e) {
    throw new InvalidConfigurationException("Failed to test configuration options!", e);
  }
}
origin: org.mobicents.resources/restcomm-slee-ra-tftp-server-ra

public void raConfigure(ConfigProperties properties) {
  port_ = DEFAULT_TFTP_PORT;
  if (properties.getProperty(PORT_CONFIG_PROPERTY) != null)
    port_ = (Integer) properties.getProperty(PORT_CONFIG_PROPERTY).getValue();
  mode_ = ServerMode.GET_AND_PUT;
}
origin: org.mobicents.resources/restcomm-slee-ra-diameter-gx-ra

/**
 * Static method for constructing an event flags object for this RA.
 * @return the generated event flags.
 */
private static int getEventFlags() {
  int eventFlags = EventFlags.REQUEST_EVENT_UNREFERENCED_CALLBACK;
  eventFlags = EventFlags.setRequestProcessingFailedCallback(eventFlags);
  eventFlags = EventFlags.setRequestProcessingSuccessfulCallback(eventFlags);
  return eventFlags;
}
origin: org.mobicents.resources/restcomm-slee-ra-diameter-sh-client-ra

/**
 * {@inheritDoc}
 */
@Override
public void endActivity(DiameterActivityHandle handle) {
 sleeEndpoint.endActivity(handle);
}
origin: org.mobicents.resources/mobicents-slee-ra-cap-ra

public void raConfigure(ConfigProperties properties) {
  try {
    if (tracer.isInfoEnabled()) {
      tracer.info("Configuring CAP RA: " + this.resourceAdaptorContext.getEntityName());
    }
    this.capJndi = (String) properties.getProperty(CONF_CAP_JNDI).getValue();
  } catch (Exception e) {
    tracer.severe("Configuring of CAP RA failed ", e);
  }
}
origin: org.restcomm.resources/restcomm-slee-ra-cap-ra

public void raVerifyConfiguration(ConfigProperties properties) throws InvalidConfigurationException {
  try {
    if (tracer.isInfoEnabled()) {
      tracer.info("Verifying configuring CAP RA: " + this.resourceAdaptorContext.getEntityName());
    }
    this.capJndi = (String) properties.getProperty(CONF_CAP_JNDI).getValue();
    if (this.capJndi == null) {
      throw new InvalidConfigurationException("CAP JNDI lookup name cannot be null");
    }
  } catch (Exception e) {
    throw new InvalidConfigurationException("Failed to test configuration options!", e);
  }
}
origin: org.mobicents.resources/restcomm-slee-ra-diameter-gx-ra

/**
 * {@inheritDoc}
 */
@Override
public void raConfigure(ConfigProperties properties) {
  parseApplicationIds((String) properties.getProperty(AUTH_APPLICATION_IDS).getValue());
}
origin: org.mobicents.resources/restcomm-slee-ra-diameter-cx-dx-ra

private static int getEventFlags() {
 int eventFlags = EventFlags.REQUEST_EVENT_UNREFERENCED_CALLBACK;
 eventFlags = EventFlags.setRequestProcessingFailedCallback(eventFlags);
 eventFlags = EventFlags.setRequestProcessingSuccessfulCallback(eventFlags);
 return eventFlags;
}
origin: org.mobicents.resources/mobicents-slee-ra-diameter-cca-ra

/**
 * {@inheritDoc}
 */
@Override
public void endActivity(DiameterActivityHandle handle) {
 sleeEndpoint.endActivity(handle);
}
origin: org.mobicents.resources/restcomm-slee-ra-map-ra

public void raConfigure(ConfigProperties properties) {
  try {
    if (tracer.isInfoEnabled()) {
      tracer.info("Configuring MAP RA: " + this.resourceAdaptorContext.getEntityName());
    }
    this.mapJndi = (String) properties.getProperty(CONF_MAP_JNDI).getValue();
  } catch (Exception e) {
    tracer.severe("Configuring of MAP RA failed ", e);
  }
}
origin: org.mobicents.resources/mobicents-slee-ra-diameter-rf-ra

private static int getEventFlags() {
 int eventFlags = EventFlags.REQUEST_EVENT_UNREFERENCED_CALLBACK;
 eventFlags = EventFlags.setRequestProcessingFailedCallback(eventFlags);
 eventFlags = EventFlags.setRequestProcessingSuccessfulCallback(eventFlags);
 return eventFlags;
}
origin: org.mobicents.resources/restcomm-slee-ra-diameter-gx-ra

/**
 * {@inheritDoc}
 */
@Override
public void endActivity(final DiameterActivityHandle arg0) {
  this.sleeEndpoint.endActivity(arg0);
}
origin: org.mobicents.resources/mobicents-slee-ra-diameter-base-ra

private static int getEventFlags() {
 int eventFlags = EventFlags.REQUEST_EVENT_UNREFERENCED_CALLBACK;
 eventFlags = EventFlags.setRequestProcessingFailedCallback(eventFlags);
 eventFlags = EventFlags.setRequestProcessingSuccessfulCallback(eventFlags);
 return eventFlags;
}
javax.slee.resource

Most used classes

  • ResourceAdaptorContext
  • SleeEndpoint
  • ConfigProperties$Property
  • ConfigProperties
  • EventFlags
  • ReceivableService,
  • ReceivableService$ReceivableEvent,
  • InvalidConfigurationException,
  • ActivityAlreadyExistsException,
  • ResourceAdaptorDescriptor,
  • ResourceAdaptorTypeID,
  • ActivityIsEndingException,
  • BootstrapContext,
  • ResourceAdaptorID,
  • ResourceException,
  • ActivityFlags,
  • Marshaler,
  • ResourceAdaptor,
  • ResourceAdaptorTypeDescriptor
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