Package javax.slee

Examples of javax.slee.ActivityContextInterface.attach()


      child.setParent(getSbbContext().getSbbLocalObject());

      // Attach child SBB to the activity context
      sipACI.attach(child);
      clientSipACI.attach(child);
      sipACI.attach(this.getSbbContext().getSbbLocalObject());
      // Send the INVITE request
      ct.sendRequest();

    } catch (ParseException parExc) {
View Full Code Here


        .getSignalGenerator(announcementEndpoint);

    try {
      ActivityContextInterface generatorActivity = mediaAcif
          .getActivityContextInterface(generator);
      generatorActivity.attach(getSbbContext().getSbbLocalObject());

      String announcementFile = pathToAudioDirectory
          + "OrderDeliveryDate.wav";
      generator.apply(Announcement.PLAY,
          new String[] { announcementFile });
View Full Code Here

          .getAnnouncementEndpointName());

      try {
        ActivityContextInterface generatorActivity = mediaAcif
            .getActivityContextInterface(generator);
        generatorActivity.attach(getSbbContext().getSbbLocalObject());

        String announcementFile = "file:" + audioFilePath;
        generator.apply(Announcement.PLAY,
            new String[] { announcementFile });
View Full Code Here

      child.setCustomEvent(event);

      // Attach child SBB to the activity context
      sipACI.attach(child);
      clientSipACI.attach(child);
      sipACI.attach(this.getSbbContext().getSbbLocalObject());
      // Send the INVITE request
      ct.sendRequest();

    } catch (ParseException parExc) {
View Full Code Here

        .getAnnouncementEndpointName());

    try {
      ActivityContextInterface generatorActivity = mediaAcif
          .getActivityContextInterface(generator);
      generatorActivity.attach(getSbbContext().getSbbLocalObject());

      String announcementFile = "file:" + this.getAudioFile();
      generator.apply(Announcement.PLAY,
          new String[] { announcementFile });
View Full Code Here

        try {
            linkActivity = mediaAcif.getActivityContextInterface(link);
        } catch (UnrecognizedActivityException ex) {
        }

        linkActivity.attach(sbbContext.getSbbLocalObject());
        link.join(endpointName, LOOP_ENDPOINT);
    }
   
    /**
     * Terminates conversation
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.