Questions tagged [handlers]

225 questions
0
votes
1 answer

How to Create custom Exception handlers with Enterprise Library Exception Handling block

I am trying to create custom Exception handlers for use with the EHAB. All I have been able to find for how-to is the IExceptionHandler interface, which only requires the HandleException method. But, there are obviously other requirements, because…
Peter Howe
  • 429
  • 6
  • 19
0
votes
2 answers

Apache SetHandler PHP script redirect loop

I'm running into an indefinite loop problem when using Apache's SetHandler to force all content requests through a PHP authentication script (Apache 2.2.15, PHP 5.3.3). My goal is to have a PHP authentication wrapper validate users trying to access…
Chrisxb
  • 21
  • 5
0
votes
1 answer

DirectShow in asp.net needs controller handle

Im building an asp.net webcam website and I need help. (using DirectShowLib) In order to show the webcam stream I need a controller handle to pass. In asp.net there is no handle property for any controller. I know I can create a windows form…
Yinon Eliraz
  • 317
  • 1
  • 6
  • 22
0
votes
0 answers

Android Handler Message to Main Activity from FileObserver Issue

I am new to android and this is my first project and have gotten a little stuck with the Handlers and FileObservers. The app will observe a folder on the file system and when files are modified, the new image inside the folder will be displayed on…
H2wk
  • 71
  • 10
0
votes
2 answers

Updating an Activity using Handlers

The following code has a thread that is responsible of connection to a server using a a specific socket. The idea of connecting works fine (in a separate thread). After the connection is established, I tried to update the main Activity using a…
Malik
  • 13
  • 4
0
votes
0 answers

sending Message with bundle data to a thread in another class in an inner class and then back to the UI handler?

I'm trying to send data to my Thread called ToD1 which is in an inner class of my Threads class then I need to do some work to it then need it to be set back to the UI thread handler my qestion is how would I call the Handlers to send the Message…
Dakota Miller
  • 493
  • 1
  • 4
  • 22
0
votes
1 answer

WPF Handlers for user control sub-controls

I have defined a user control to represent a tab item comprising of a few buttons. When I create an instance of the user tab item I would like to define click handlers for button clicks. e.g. for For Button1…
user1400716
  • 1,126
  • 5
  • 13
  • 32
0
votes
2 answers

Which Page is calling the Handler ashx

I want know which page and which URL has calling my Handler .ashx, is that possible? I need this because, I have an Handler who calls and convert images from database, but some of my URLS of images are not passing the right query argument (they…
oteal
  • 614
  • 2
  • 13
  • 25
0
votes
1 answer

DrawingImage event handlers in WPF

Is it possible to set up event handlers on the parts of the drawing, which is obtained with DrawingImage? For example, I make the graph drawing (mathematical graph with vertices and edges), graph is loaded from txt file, and I want to make vertices…
Daisy
  • 1
  • 3
0
votes
1 answer

Microformat (hCard, hCalendar) parsing services

I'm about to write my own .ashx handler to receive hCard data and return a properly-formatted VCF file and - when I get around to it - to handle hCalendar events as well. I know the Microsoft Oomph project does something very similar (in fact, I…
Phil.Wheeler
  • 16,748
  • 10
  • 99
  • 155
0
votes
3 answers

How can you handle cross-cutting conerns in JAX-WS without Spring or AOP? Handlers?

I do have something more specific in mind, however: Each web service method needs to be wrapped with some boiler place code (cross cutting concern, yes, spring AOP would work great here but it either doesn't work or unapproved by gov't architecture…
les2
  • 14,093
  • 16
  • 59
  • 76
0
votes
1 answer

Rails App: Missing template with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>["image/jpeg", "image/pjpeg", "image/png", "image/gif"]}

My rails app uses a route called "four_oh_four" to provide a custom 404 page that uses the site's application layout to look nice. I've started receiving the following errors: Missing template info/four_oh_four with {:handlers=>[:erb, :rjs,…
isthmuses
  • 1,316
  • 1
  • 17
  • 27
0
votes
1 answer

Blocking request handlers in Google App Engine

I'm developing a GAE application using python and i want it to serve requests concurrently. For this effect I have set threadsafe to true. I have defined two methods in my request handler: POST - which enqueues a pull task to execute asynchronously,…
djed
  • 141
  • 10
0
votes
2 answers

G-WAN URL rewrite for home page not working

I am trying to do a URL rewrite for the site home page. Here is a simplified version of my handler. int init(int argc, char *argv[]) { u32 *states = (u32*)get_env(argv, US_HANDLER_STATES); *states = (1 << HDL_AFTER_READ); return 0; } int…
Richard Heath
  • 349
  • 3
  • 12
0
votes
1 answer

Windows Named Pipe is invalid

I have no idea why this pipe is invalid. everything seems fine to me. This is just a test, i don't write or read from it. Anyone can tell me what's wrong? #include #include #include #define BUFSIZE 4096 int…
Jacob Krieg
  • 2,834
  • 15
  • 68
  • 140
1 2 3
14
15