C# Class IBE.SimpleWebserver

Exibir arquivo Open project: Duke-Jones/ED-IBE

Public Properties

Property Type Description
Running bool

Private Properties

Property Type Description
HandleRequest void
HtmlTag string
NoteInputFieldHtml string
ParseNoteParameters void
ReturnCurrentOcrImage void
ReturnEnterNoteDataHtml void
ReturnOcrHtml void
SendTradeDataPage void
notFound void
notImplemented void
sendOkResponse void
sendResponse void
sendResponse void

Public Methods

Method Description
ImageToByte2 ( Image img ) : byte[]
Start ( IPAddress ipAddress, int port, int maxNOfCon, string contentPath, Form1 callingForm ) : bool
Stop ( ) : void

Private Methods

Method Description
HandleRequest ( Socket clientSocket ) : void
HtmlTag ( string pageName ) : string
NoteInputFieldHtml ( string label ) : string
ParseNoteParameters ( string requestedUrl ) : void
ReturnCurrentOcrImage ( Socket clientSocket, string extension ) : void
ReturnEnterNoteDataHtml ( Socket clientSocket ) : void
ReturnOcrHtml ( Socket clientSocket ) : void
SendTradeDataPage ( Socket clientSocket ) : void
notFound ( Socket clientSocket ) : void
notImplemented ( Socket clientSocket ) : void
sendOkResponse ( Socket clientSocket, byte bContent, string contentType ) : void
sendResponse ( Socket clientSocket, byte bContent, string responseCode, string contentType ) : void
sendResponse ( Socket clientSocket, string strContent, string responseCode, string contentType ) : void

Method Details

ImageToByte2() public static method

public static ImageToByte2 ( Image img ) : byte[]
img Image
return byte[]

Start() public method

public Start ( IPAddress ipAddress, int port, int maxNOfCon, string contentPath, Form1 callingForm ) : bool
ipAddress System.Net.IPAddress
port int
maxNOfCon int
contentPath string
callingForm Form1
return bool

Stop() public method

public Stop ( ) : void
return void

Property Details

Running public_oe property

public bool Running
return bool