polling Questions
2
I have working code that listens to a directory using the WatchService and responds to the events I specify. This works fine and has been tested on both linux and mac (although on the latter it's c...
1
Solved
I'm trying to implement an automatic refresh on a List of components in a Vaadin view. The list gets its contents from a database. I can refresh the list with a button, that is already implemented....
3
Solved
I'm doing some threaded asynchronous networking experiment in python, using UDP.
I'd like to understand polling and the select python module, I've never used them in C/C++.
What are those for ? I...
Sheltonshelty asked 18/9, 2011 at 4:6
2
Solved
I'm playing around with RXJava, retrofit in Android. I'm trying to accomplish the following:
I need to poll periodically a call that give me a Observable> (From here I could did it)
Once I get t...
Algorithm asked 5/2, 2015 at 10:46
2
I'm building a 2 Player game on Android. The game works turnwise, so player 1 waits until player 2 made his input and vice versa. I have a webserver where I run an API with the Slim Framework. On t...
5
Solved
I'm developing a game for Android. It's got a lot going on but is running reasonably smoothly. That is, of course, until the user touches the screen.
While they're touching it, onTouchEvent is cal...
Might asked 27/4, 2009 at 3:42
21
Solved
I want to make something similar to loaders in PHP
so I used this code:
<?php
$x=1;
while($x<=100) {
echo "Loading: $x %<br>";
$x++;
}
?>
So that it would display from "Loadin...
Predestine asked 25/4, 2014 at 21:13
4
Solved
I'm a novice-to-intermediate JavaScript/jQuery programmer, so concrete/executable examples would be very much appreciated.
My project requires using AJAX to poll a URL that returns JSON containing...
Concupiscence asked 10/9, 2009 at 17:18
3
Solved
I have to design and implement a way to deal with long running processes in a client/server application. A typical long running process would/could take 2-3 minutes. I also need to report progress ...
Agc asked 13/1, 2011 at 17:33
1
Solved
For one of my dissertation's data collection modules, I have implemented a simple polling mechanism. This is needed, because I make each data collection request (one of many) as SQL query, submitte...
Betray asked 7/5, 2014 at 12:40
6
Solved
I'm wondering whether there is a way to poll a socket in c# when only one of the conditions (data is available for reading) is satisfied, I'm aware of the socket.Poll method but this can return tru...
2
Solved
I'm using PrimeFaces poll component to refresh some content.
<h:form id="formBsvtt">
<p:messages autoUpdate="true" showDetail="false" />
<p:outputPanel id="panelOut" layout="block...
Kronos asked 25/6, 2013 at 13:39
2
Solved
I've got a field A in my webpage which, when edited by the user, invokes an API call (using jQuery), which updates field B. After the edit, the API should be called every 10 seconds to update the f...
Neologize asked 4/3, 2014 at 19:54
1
Solved
As the title suggests, I'd like to know what is Java's equivalent (or most similar) function to C's poll() function for polling a set of file descriptors?
Dynasty asked 6/2, 2014 at 10:40
6
I poll a lot of devices in network (more than 300) by iterative ping.
The program polls the devices sequentially, so it's slow.
I'd like to enhance the speed of polling.
There some ways to do thi...
Hydroplane asked 3/2, 2011 at 13:27
2
Solved
I am trying to implement a client-server type of communication system using the poll function in C. The flow is as follows:
Main program forks a sub-process
Child process calls the exec function ...
1
Solved
I just inherited an Android app project as a (technical) product manager that uses a 5 second timer to poll a remote URL to see if some work initiated by the app has finished. My initial reaction o...
Wavellite asked 16/11, 2013 at 13:37
2
Solved
I am developing a client-side single-page-application (SPA) with AngularJS and ASP.Net WebAPI.
One of the features of the SPA includes uploading large CSV file, processing it on the server, and re...
Evenings asked 2/9, 2013 at 9:6
1
Solved
GitHub API provides the feature of activity events for users, orgs and repos. The APIs support pagination upto 10 pages for a total of 300 events with 30 events per page. Rate Limiting is achieved ...
Etch asked 25/6, 2013 at 12:4
3
Configuring the Jenkins polling interval to: * * * * * will poll the SCM for every minute.
Is there a way to configure it to poll less than a minute? for example every 30 seconds?
3
Solved
So... I'm making an application for Android. The application needs to send and receive realtime chat data (needs to be a socket) but it also needs to send commands (which don't as the client knows ...
1
Solved
I have a simple sysfs device attribute which shows up under my sysfs directory, and on a call to read returns the value of a kernelspace variable. I want to call poll on this attribute to allow my ...
Hunan asked 8/5, 2013 at 14:10
1
Solved
I am trying to communicate asynchronously between a kernel driver and a user-space program (I know there are lots of questions here that ask for similar information, but I could find none that deal...
Tessin asked 3/5, 2013 at 21:11
1
Solved
I managed getting a constant polling of the backend functional using
this answer.
But on every timeout the UI is flickering (empty model for a short time).
How can I update the model (and the view...
1
Let's say we have an iOS app that communicates with a web service. Some requests are delegated to another web service, so that a HTTP 200 status code is returned immediately while the operation is ...
Otti asked 10/4, 2013 at 7:50
© 2022 - 2024 — McMap. All rights reserved.