FlexLib
Public Member Functions | Properties | Events | List of all members
Flex.Smoothlake.FlexLib.TcpCommandCommunication Class Reference
Inheritance diagram for Flex.Smoothlake.FlexLib.TcpCommandCommunication:

Public Member Functions

bool Connect (IPAddress radio_ip, bool setup_reply)
 
void Disconnect ()
 
void Write (string msg)
 
delegate void IsConnectedChangedEventHandler (bool connected)
 Delegate event handler for the IsConnectedChanged event More...
 
delegate void TCPDataReceivedReadyEventHandler (string msg)
 Delegate event handler for the DataReceivedReady event More...
 
bool Connect (IPAddress radio_ip, int radioPort, int src_port=0)
 

Properties

bool IsConnected [get]
 
IPAddress LocalIP [get, set]
 The local client IP address More...
 

Events

IsConnectedChangedEventHandler IsConnectedChanged
 This event is raised when the radio connects or disconnects from the client More...
 
TCPDataReceivedReadyEventHandler DataReceivedReady
 This event is raised when the client receives data from the radio (each message terminated by '
') More...
 

Member Function Documentation

bool Flex.Smoothlake.FlexLib.TcpCommandCommunication.Connect ( IPAddress  radio_ip,
bool  setup_reply 
)
bool Flex.Smoothlake.FlexLib.TcpCommandCommunication.Connect ( IPAddress  radio_ip,
int  radioPort,
int  src_port = 0 
)
void Flex.Smoothlake.FlexLib.TcpCommandCommunication.Disconnect ( )
delegate void Flex.Smoothlake.FlexLib.TcpCommandCommunication.IsConnectedChangedEventHandler ( bool  connected)

Delegate event handler for the IsConnectedChanged event

delegate void Flex.Smoothlake.FlexLib.TcpCommandCommunication.TCPDataReceivedReadyEventHandler ( string  msg)

Delegate event handler for the DataReceivedReady event

void Flex.Smoothlake.FlexLib.TcpCommandCommunication.Write ( string  msg)

Property Documentation

bool Flex.Smoothlake.FlexLib.TcpCommandCommunication.IsConnected
get
IPAddress Flex.Smoothlake.FlexLib.TcpCommandCommunication.LocalIP
getset

The local client IP address

Event Documentation

TCPDataReceivedReadyEventHandler Flex.Smoothlake.FlexLib.TcpCommandCommunication.DataReceivedReady

This event is raised when the client receives data from the radio (each message terminated by '
')

IsConnectedChangedEventHandler Flex.Smoothlake.FlexLib.TcpCommandCommunication.IsConnectedChanged

This event is raised when the radio connects or disconnects from the client


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