FlexLib
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | Events | List of all members
Flex.Smoothlake.FlexLib.SslClient Class Reference

Public Member Functions

 SslClient (string hostname, string port, int src_port=0, bool start_ping_thread=false, bool validate_cert=true)
 
void StartReceiving ()
 
void Write (string message)
 
delegate void MessageReceived (string msg)
 
void Disconnect ()
 

Static Public Member Functions

static bool ValidateServerCertificate (object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
 

Public Attributes

EventHandler Disconnected
 

Properties

bool IsConnected [get]
 

Events

MessageReceived MessageReceivedReady
 

Constructor & Destructor Documentation

Flex.Smoothlake.FlexLib.SslClient.SslClient ( string  hostname,
string  port,
int  src_port = 0,
bool  start_ping_thread = false,
bool  validate_cert = true 
)

Member Function Documentation

void Flex.Smoothlake.FlexLib.SslClient.Disconnect ( )
delegate void Flex.Smoothlake.FlexLib.SslClient.MessageReceived ( string  msg)
void Flex.Smoothlake.FlexLib.SslClient.StartReceiving ( )
static bool Flex.Smoothlake.FlexLib.SslClient.ValidateServerCertificate ( object  sender,
X509Certificate  certificate,
X509Chain  chain,
SslPolicyErrors  sslPolicyErrors 
)
static
void Flex.Smoothlake.FlexLib.SslClient.Write ( string  message)

Member Data Documentation

EventHandler Flex.Smoothlake.FlexLib.SslClient.Disconnected

Property Documentation

bool Flex.Smoothlake.FlexLib.SslClient.IsConnected
get

Event Documentation

MessageReceived Flex.Smoothlake.FlexLib.SslClient.MessageReceivedReady

The documentation for this class was generated from the following file: