C# Class MissionPlanner.Utilities.httpserver

Exibir arquivo Open project: ArduPilot/MissionPlanner

Public Properties

Property Type Description
georefimagepath string
georefkml string
mavelous_web string
run bool
tcpClientConnected System.Threading.ManualResetEvent

Public Methods

Method Description
ComputeWebSocketHandshakeSecurityHash09 ( String secWebSocketKey ) : String
DoAcceptTcpClientCallback ( IAsyncResult ar ) : void
GetControlJpeg ( Control ctl ) : Image
GetControlJpegRaw ( Control ctl ) : byte[]
HexStringToColor ( string hexColor ) : Color
ResizeImage ( Image image, Size size, bool preserveAspectRatio = true ) : Image
Stop ( ) : void
listernforclients ( ) : void

little web server for sending network link kml's

Private Methods

Method Description
refreshmap ( ) : void

Method Details

ComputeWebSocketHandshakeSecurityHash09() public static method

public static ComputeWebSocketHandshakeSecurityHash09 ( String secWebSocketKey ) : String
secWebSocketKey String
return String

DoAcceptTcpClientCallback() public method

public DoAcceptTcpClientCallback ( IAsyncResult ar ) : void
ar IAsyncResult
return void

GetControlJpeg() public method

public GetControlJpeg ( Control ctl ) : Image
ctl System.Windows.Forms.Control
return Image

GetControlJpegRaw() public method

public GetControlJpegRaw ( Control ctl ) : byte[]
ctl System.Windows.Forms.Control
return byte[]

HexStringToColor() public static method

public static HexStringToColor ( string hexColor ) : Color
hexColor string
return Color

ResizeImage() public method

public ResizeImage ( Image image, Size size, bool preserveAspectRatio = true ) : Image
image Image
size System.Drawing.Size
preserveAspectRatio bool
return Image

Stop() public static method

public static Stop ( ) : void
return void

listernforclients() public method

little web server for sending network link kml's
public listernforclients ( ) : void
return void

Property Details

georefimagepath public_oe static_oe property

public static string georefimagepath
return string

georefkml public_oe static_oe property

used to feed in a network link kml to the http server
public static string georefkml
return string

mavelous_web public_oe static_oe property

public static string mavelous_web
return string

run public_oe static_oe property

public static bool run
return bool

tcpClientConnected public_oe static_oe property

public static ManualResetEvent,System.Threading tcpClientConnected
return System.Threading.ManualResetEvent