Hi guys,
I wanted to find out other ways to do Asynchronous Observer Pattern without using Message Queue. Ideas and examples are mostly welcomed. :-) (Think of this as a brainstorming session).
PS Language preference is up to you.
...
I haven't been able to find an example like this, though I'm sure there must be a few out there.
When the user clicks a button to log in, an event handler on the button click calls a function that logs the user in. Based on the user, they can be taken to one of many start screens. The information for which screen is returned from a serv...
I need recommendations, design input, references to similar systems or anything that will help in building the system below.
I have been assigned to design a message processing based system. The over all architecture is as follows.
We have
i) Client
ii) Server
iii) Data Collectors - Services that gather data from the internet...
Hi I need some advice as to whether what I am trying to acheive is even possible.
I have code which is basically
SqlDataReader sourceDataReader = dbFunctions.getDataReader(<..some parameters..>)
while (sourceDataReader.Read())
{
.....
Do some stuff
.....
// Write out record
dbFun...
I'm building an asp.net mvc2 website and using a lot of ajax form elementes (Ajax.BeginForm to be exact) to asynchronously populate data on the page. I would like to redirect the user to the sign in page after x amount of time of inactivity on the site. When I do this currently, either through ActionExecutingContext, or HttpContext, the ...
Long post.. sorry
I've been reading up on this and tried back and forth with different solutions for a couple of days now but I can't find the most obvious choice for my predicament.
About my situation; I am presenting to the user a page that will contain a couple of different repeaters showing some info based on the result from a coup...
The code is not complete (It does not build), as I am not able to get the "item" in the following line in the WriteResponseData().
HttpWebResponse WebResp = (HttpWebResponse)item.EndGetResponse(result);
I must be missing something. Please point out.
below is the complete code:-
static string[] imageUris =
{ "http://www.crici...
Existing method of posting values to API
As per the API documentation, a form has to be posted to the API URL (method="POST" and action="API_URL") with some input fields and a customer token field. The API processes and then posts response to a callback.php file on my server (fixed - can't change it). The page redirects to the API URL an...
I'm having some issues trying to figure out Async communication on a serialport object and was hoping to get some help. I'm still learning Async stuff so be gentle:)
I basically need to make sure that the buffer isn't full prior to writing to the serial port and also all data has been read before any more data gets written to avoid ...
Im writing an application which is going to act as a tcp listener for a single client. The client is a java applet and will periodically connect to the listener, send some data and then wait for a response.
The code for the TcpServer class below has been largely lifted from an example provided by a more knowledgeable stackoverflow membe...
I write a temp http protocol and the Code is as follow, it works well for web pages navigating, but cannot for file download, such as http://**/111.zip .
How to modify the code ?
Envrionment: .Net 2.0, VS2008, C#
public void Start(string szURL, IInternetProtocolSink Sink, IInternetBindInfo pOIBindInfo, uint grfPI, uint dwReserved)
...
Following up from part of this question, what is the best way to have a worker thread that invokes a COM procedure in a DLL, to do this asynchronously so that the worker thread is not blocked on this call?
Note that a call to this COM DLL can take a long time as it will do DB accesses and possible run long running queries.
I wondered i...
Hi Guys!
I know that twisted will not "wait"... I am working with an XMPP client to exchange data with an external process. I send an request and need to fetch the corresponding answer. I use a sendMessage to send my request to the server. When the server answers a onMessage method will receive it and check if it an answer to a request ...
I am working on a 'proof of concept' Silverlight 4 project and am learning the way of THE ASYNC. I have stopped fighting the urge to implement some pseudo-synchronous smoke and mirrors technique. I am going to learn to stop worrying and love THE ASYNC.
Most of the time I just use a BusyIndicator while async methods are running and all...
I've been messing around with using Node.js and CouchDB. What I want to be able to do is make a db call within an object. Here is the scenario that I am looking at right now:
var foo = new function(){
this.bar = null;
var bar;
calltoDb( ... , function(){
// what i want to do:
// this.bar = dbResponse.bar;
...
Reading the Google App Engine documentation on asynchronous URL Fetch:
The app can have up to 10 simultaneous
asynchronous URL Fetch calls
What happens if an application calls more than 10 async fetch at a time?
Does Google App Engine raise an exception or simply queue the remain calls waiting to serve them?
...
I'm curious if anyone knows of any frameworks that enable asynchronous multiplayer gaming in iOS?
I know GameKit/Game Center eases synchronous (realtime) multiplayer gaming - I'm thinking of something more like Words With Friends. There would obviously need to be a server-side element that I'd have to provide, to store game state and s...
I'm faced with setting up a system which will allow users to:
Hit a button to initialize a "download & archive" command, which reads file lists via XML, pulls files over HTTP to a local directory, archives them, and stores them away for download.
Get a progress bar/indicator telling them their "request is being processed" immediately a...
I am using async jquery treeview to build a tree. The treeview is populated based on the selection of dropdown list(select input).
Everything works fine for the first time of treeview load. When the select option is changed and the treeview is built then the nodes expand but do not collapse. Has any one got such a problem. I would be th...
I think this is trivial, but I cannot find the answer :(
I have a WP7 page that hosts some controls that I want to populate with date read from a web request.
The web request is done with:
WebClient wr = new WebClient();
wr.DownloadStringCompleted += new DownloadStringCompletedEventHandler(Event_DownloadStringCompleted);...