Add project files.

This commit is contained in:
Thomas Savine
2020-03-06 16:07:06 +00:00
parent e7b186c7e3
commit 70de9715ce
300 changed files with 43679 additions and 0 deletions
@@ -0,0 +1,65 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Sarand.OperationsMgr.Service.Handlers
{
//=======================================================================
// Ref. http://stackoverflow.com/questions/5895063/asynchronous-httplistener-problem-each-request-is-received-twice
//=======================================================================
public class HttpListenerCallbackState
{
public HttpListenerCallbackState (HttpListener listener)
{
}
}
//=======================================================================
public class OpnHttpRequestHandler
{
//-------------------------------------------------------------------
// Data members.
//-------------------------------------------------------------------
// Configure the listener.
//-------------------------------------------------------------------
// Start the listener.
public void ListenAsynchronously ()
{
}
//-------------------------------------------------------------------
// Stop the listener.
public void StopListening ()
{
}
//-------------------------------------------------------------------
private void Listen (object state)
{
}
//-------------------------------------------------------------------
// L i s t e n e r E v e n t s
//-------------------------------------------------------------------
private void ListenerCallback (IAsyncResult ar)
{
}
private void HandleHttpRequest (HttpListenerContext context, long requestNumber)
{
}
//-------------------------------------------------------------------
/// <summary>Intercept requests for static resources and respond with 'Not Found'.</summary>
private bool IsStaticResourceUnavailable (HttpListenerRequest request)
{
return false;
}
//-------------------------------------------------------------------
}
//=======================================================================
}