Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6636421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:11:01+00:00 2026-05-25T23:11:01+00:00

Is it possible to start a supervisor module in ejabberd which I can add

  • 0

Is it possible to start a supervisor module in ejabberd which I can add a gen_fsm module to, per connection?

Specifically, I want to create a supervisor which I start when the server starts (or when connections come in). And I have a couple of gen_servers which I want to start, but the part I’m looking for some guidance on is how to dynamically add a gen_fsm module to my supervisor when I see this user’s presence become available?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:11:02+00:00Added an answer on May 25, 2026 at 11:11 pm

    You might want to have a look to the Simple one for on supervisor, which:

    is a simplified one_for_one supervisor, where all child processes are
    dynamically added instances of the same process

    …

    When started, the supervisor will not start any child processes. Instead, all child
    processes are added dynamically by calling:

    supervisor:start_child(Sup, List)

    …

    Basically, you use this kind of supervisors when:

    1. All the children are of the same type
    2. You want to add children dynamically

    Which appears to be your case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just start learning WPF, is that possible I can create an IE toolbar
Is it possible to start an Activity from a Service? If yes, how can
Is it possible to start a slideshow from a Powerpoint 2010 add-in?
Possible Duplicate: How to Start learning to create iphone apps I only know basic
Is it possible to start up a daemon from java. Specifically, I am trying
Is it possible to start an event when an UIWebView (Iphone) has finished loading
Is it possible to start an array at an index not zero...I.E. you have
Is it possible to start other application that are installed on the system with
Is it possible to start a program so that it is available to a
Possible Duplicate: Why does BinaryWriter prepend gibberish to the start of a stream? How

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.