How to determine Host presence without entering room

Is there a way to know if the host has arrived without
authenticating to a room?
I noticed that the room state is always hostHasNotArrived to
a non-authenticated guest and when a listener for ROOM_STATE_CHANGE
is attached to the sessions roomManager instance you do not receive
events until you enter the room as either a guest or an
authenticated user. Furthermore you receive two ROOM_STATE_CHANGE
events as soon as you enter the room, the first being a
hostHasNotArrived ( regardless of the actual host status ) and then
a second immediate ROOM_STATE_CHANGE event stating the correct
state of the room ( whatever it really is ).
The use case I am trying to solve for is in an application
designed to only be used by a guest user you would like to know the
presence of a host in a room. Otherwise you could enter a room as a
guest and wait forever. More importantly in the current
implementation if I attempt to log in as a guest and receive the
hostHasNotArrived status I would assume that there was no host when
in fact there is. Currently I have to ignore the hostHasNotArrived
and wait around for the second event.

Hi ConnectSolutions,
As you correctly pointed out, there is some bug in our code
that keeps the room active and you dont receive any events or
notification if you are entering as guest and waiting and the host
arrives. Also, since you havent entered yet i.e your role is still
5 i.e. UserRoles.LOBBY , you can't access any of the UserManager's
collections and will get a length of 0 always. We will be fixing
this with priority .
But you can get around the problem as of now, by having a
small shared model of yours ( any collectionNode or sharedModel
will do) where you create a node and publish a message on it from
the Owner's side whenever the owner/host enters to notify everyone
that he has entered. Just remember to set the accessmodel of
NodeConfiguration of node on which you are publishing to LOBBY ie.
role = 5 , and make the publishModel = 100 so that only owners can
publish on this node. In this way , any users waiting will be
receiving this message and will know the host has arrived. If you
can't get this sharedModel concept to work, let me know. I will try
to run on my side.
And as of our side regarding actual fix, we will fix this use
case and put in the next drop of SDK and also update in forum about
it.
On the host side though, he is always notified when he enters
if there are pending users knocking to enter. See the KnockingQueue
example in case you want to explore that.
Thanks
Hironmay Basu

Similar Messages

  • It says i have to review my apple id but how do i do it without entering a cridit card

    it says i have to review my apple id account but how do i do it without entering a cridit card

    Ok, so here's what I did:
    1.Created a new email account (gmail, to be precise)
    2.Opened iTunes (on PC with Windows 7)
    3.Browsed for free apps
    4.Tried to download one (Bubble Explode)
    5.After a message popped up I chose to create a new Apple ID, as the location I typed NY, United States
    6.The 'None' payment option did appear
    7.I  finished signup and downloaded the app on PC
    8.Signed in on my iPad 3
    9.Deleted the app and signed out on PC
    10.Connected to AppStore on the same iPad
    11.Downloaded Bubble Explode via iPad and deleted it after it's done
    Be patient, for me it took 3 days and I was furious as never before in my life since Windows Vista.
    Feel free to ask if sth. is unclear and remember that just because I made it, it doesn't mean I can do it once more.

  • How to determine host status in a task via python api

    Hello all,
    using the python api I am having some issues trying to determine the status of a host within a task. For example I have a job, with one task and 10 hosts associated with that task. Eight hosts finish the task, 2 fail. However via the api I can only seem to determine the status of the job and the task. What I want is to be able to generate a report that basically matches what you see via the gui (ie 8 hosts ok, 2 hosts failed). The data structure OnStageTaskData gives me a status and a list of hosts, but not a status for each host. (Note I am not using any of the depricated functions/data structures). Currently my code looks like (minus the api init, etc)...
    # list all the jobs for last week
    joblist = api.GetJobs()
    for job in joblist:
    # if the job occured in the last week
    if job.c_time > reportstarttime:
    print "\nJob name %s Time %s " %(job.name, time.ctime(job.c_time))
    try:
    jobdetails = api.GetOnStageJob(job.id)
    except COsApiJobNotFoundException:
    print "Can't find job %s details" %job.name
    continue
    for tasks in jobdetails.job_data.tasks:
    for hostid in tasks.task_data.target:
    try:
    hostinfo = api.GetHostGroup(hostid)
    except OsApiHostNotFoundException:
    print "Can't find host details %s" %tasks.task_data.name
    print "Hostname %s Status %s" %(hostinfo.name, tasks.status)
    which generates output like...
    Job name chg233146-sol9 Time Sun Jan 13 10:31:42 2008
    Hostname tacnomsrv02 Status Failed
    Hostname tacpthsrv01 Status Failed
    anyone have another way to doing this or suggestions? Or is this kind of info not available via the api? Thank you.

    Hi ConnectSolutions,
    As you correctly pointed out, there is some bug in our code
    that keeps the room active and you dont receive any events or
    notification if you are entering as guest and waiting and the host
    arrives. Also, since you havent entered yet i.e your role is still
    5 i.e. UserRoles.LOBBY , you can't access any of the UserManager's
    collections and will get a length of 0 always. We will be fixing
    this with priority .
    But you can get around the problem as of now, by having a
    small shared model of yours ( any collectionNode or sharedModel
    will do) where you create a node and publish a message on it from
    the Owner's side whenever the owner/host enters to notify everyone
    that he has entered. Just remember to set the accessmodel of
    NodeConfiguration of node on which you are publishing to LOBBY ie.
    role = 5 , and make the publishModel = 100 so that only owners can
    publish on this node. In this way , any users waiting will be
    receiving this message and will know the host has arrived. If you
    can't get this sharedModel concept to work, let me know. I will try
    to run on my side.
    And as of our side regarding actual fix, we will fix this use
    case and put in the next drop of SDK and also update in forum about
    it.
    On the host side though, he is always notified when he enters
    if there are pending users knocking to enter. See the KnockingQueue
    example in case you want to explore that.
    Thanks
    Hironmay Basu

  • How to block sales employee without enter in sales order.

    Dear Guru's,
    I have created sales employee code 1234 and using same in sales order with using partner function due to the some reason now I donu2019t want to book sales for same employee code 1234. Can anyone help me how to block employee code.
    Regads
    dharma

    hi
    if i enter sales employee manually in sales order it should not allow me to enter and it should give message this employee in inactive status so that user will under stand accordingly.
    this employee number we are entering in sales order manually it's not copying from customer.

  • How to change HOST Name without a reinstall in XI 3.1 ?

    Is it possible to change the host name in XI 3.1 without reinstall ?

    1) Make a full backup of your XI 3.1 system (both database and file repository)
    2) Change the hostname
    3) Create a new SIA with all defaults servers using the CCM. Make sure that you instruct the CMS to use the same database connection as before. I ould advise you to change the default CMS and SIA ports.
    4) Run the "Update objects" command in the CCM on the new SIA
    5) Stop the old SIA and change the ports for the new SIA and the CMS to the default values (if required)
    6) Remove the old SIA in the CCM
    7) Go into to the CMC and try to delete any remaining servers from the old SIA.
    Please note that after completing the above workflow you have to reconfigure some of the servers' settings again in the CMC
    Regards,
    Stratos

  • How to determine the presence of adobe pdf reader using java/J2EE?

    Can someone share this with me. I need to determing how do we determine if adobe reader is installed on a user's machine or not - using java/J2EE.
    Any ideas?
    Thanks,
    Pratik.

    I am in the software, where can I find it?
    On Tue, Jan 27, 2015 at 9:59 AM, Sara.Forsberg <[email protected]>

  • Does anyone know how to crop a picture without leaving room?

    Is it possible to crop out edges of your video in order fix the composition of your shot?
    I do this with photo software, but can't figure it out with Final Cut Pro, nor can I even be sure that's it's possible to begin with.
    I can cut the picture, but it leaves the black area in the frame afterwards... I basically want to crop it by zooming in a bit....
    Hope this isn't a stupid question!

    Hi,
    Select the canvas in FCP and you clip in the timeline>press the key W and the image+wireframe (crossed white lines) will appear in the canvas. Now drag outwards (inwards if needed) the corners of the wireframe and resize your frame in the canvas (Press W twice when you are done to go back to image with no wireframe).
    Also in the manual read about Motion Tab.
    G.

  • How do i send a group email without entering each name

    how do I send group emails without entering each seperate? The groups I created in gmail don't show in my contacts on phone

    Hi Nancy,
    The other poster has only given a partial answer, so I thought I'd better post as its now something of a specialist subject for me.
    Groups in your device are a means to group together all your contacts for friends, work colleagues etc. in your address book. they are normally created in a Mac or Windows PC address book and synched across. However your device can't send email to everyone in those groups at once using the default apps. (The reason Apple chose to do this is probably that contacts can have one, many or no email addresses, so there isnt a direct relationship between these groups and how you'd want to email them.)
    There are a number of apps available which let you define groups and send email to them inside a custom app, this works well but you can only send mail to groups from inside their app, so you can only include attachment types they have thought of, and have no means to forward a received email with attachments to a group.
    The only app that takes a different approach is our MailShot app, this creates special group contacts in your address book. They can be used to send email to a MailShot group from inside your favourite apps, just like it was built into the iPhone. By using them in Mail you can forward emails to a group of people, with attachments intact, or by using them from a different app, like GoodReader or Google Maps, you can send whatever attachments those apps create.
    Mailshot will be back in the App store next week, free to try with an in-app upgrade available to increase the number of groups and contacts it handles.
    Peter
    Soluble Apps
    Developer of "MailShot- Group Email Done Right"
    I may receive some form of compensation, financial or otherwise, from my recommendation or link. <Edited by Host>

  • How can I use the money in the iTunes account balance which I have already redeemed from an iTunes gift card without entering any credit card information ?

    I just redeemed an iTunes gift card code and then tried to buy a movie. But iTunes keeps asking me to enter the details of a valid credit card. I had been buying apps, music and movies on multiple Apple devices without any credit card information. I just used the iTunes gift cards. But suddenly iTunes just would't allow me to do that any more. I wonder why... How can I keep using the money I have redeemed from iTunes gift cards without entering any credit card information?

    Perhaps you should Contact the iTunes Store Customer Service:
    Apple - Support - iTunes Store - Contact Us

  • How can I filter a table from Data Control without enter query

    I have a table from a web service data control based on WSDL.
    I want to filter the table without input query at filter text box. Without filter text box, each would filter the table with a hardcoded query internally.
    For example, when user click A menu button then it filters the table where type = '1' and B menu button filters the table by type='2' and C menu button filters the table by type=' ' .
    How can I filter the table without enter query?
    Could anyone point me to a solution please.
    Thanks.
    jdev 11.1.5
    Edited by: 893364 on Oct 26, 2011 12:15 PM
    Edited by: 893364 on Oct 26, 2011 12:21 PM

    Hi,
    when you created the table, did you try selecting the "filter" option. Select the table and go to the Property Inspctor. In the tool bar of the Property Inspector there is an icon to change the configuration. Its adding filter filter fields for the user to search in.
    Option 2: The data of the Web Service actually is held in the iterators. If you wanted to filter the WebService query, I would not use the WS DC but a JAX-WS proxy in a POJO to fetch the WS Data. Then have the Data Control created from the POJO. You could have a method exposed on the POJO that allows you to filter the internally held data
    Frank

  • How can I acess my ipad content from the pc, without enter the security code on ipad? I broke the screen and it doesn´t work. theres a way to enter the code on the pc?

    how can I acess my ipad content from the pc, without enter the security code on ipad? I broke the screen and it doesn´t work. theres a way to enter the code on the pc? thank you

    No. Get it fix by making an appointment with the Apple genius bar.

  • How to create operations without entering a performing work center

    How to create operations without entering a performing work center ? which control key should i select ?

    Hi
    QM01 is control key used for all the task lists of Quality.
    there is no such a configuration associated with control key &  usage of work center.
    Work center is used for the activity capturing perpose & control key is to control operations.
    I hope this is clear.
    Entering a work center is totally depends on the scenario & not control key.
    Regards
    Sujit

  • My iCloud has been 'upgrading' for the last 12 hrs. That is, after I had pressed 'install after downloading the latest, improved version without entering my password. How do I get back to the window that will allow me to enter my password?

    My iPad has been 'upgrading' for the last 12hrs.That is, after I had downloaded the new version of iCloud, and pressed 'Install' without entering my password. It is probably searching for it. How do I go back to the window that will allow me to enter my password. I have tried switching off the device, but each time the 'upgrading' comes on. I have also switched it off and left it on the charger for at least 6 hrs.

    My iPad has been 'upgrading' for the last 12hrs.That is, after I had downloaded the new version of iCloud, and pressed 'Install' without entering my password. It is probably searching for it. How do I go back to the window that will allow me to enter my password. I have tried switching off the device, but each time the 'upgrading' comes on. I have also switched it off and left it on the charger for at least 6 hrs.

  • I wish to list consectutive dates in a column.  How do I do this without having to enter each date in each cell?

    I wish to list consectutive dates in a column.  How do I do this without having to enter each date in each cell?

    Hi pdh,
    Enter the first date. I typed 23 feb. Numbers adds the year (if you want a different year, type that as well).
    Press return (enter)
    Click on the first cell.
    You will see a small white crcle at the bottom right of that cell.
    Drag the circle down.
    Regards,
    Ian.

  • How do I set up an apple id without entering a credit card number?  I only want to use giftcards on my account.

    How do I set up an apple id without entering a credit card number?  I only want to use apple gift cards.

    http://support.apple.com/kb/HT2534
    See if this helps.
    Make sure you're not signed into any ID and that you have an e-mail address that's never been associated with any Apple ID

Maybe you are looking for