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

Public Member Functions

delegate void WanListReceivedEventHandler (List< Radio > radios)
 
delegate void RadioAddedEventHandler (Radio radio)
 
delegate void RadioRemovedEventHandler (Radio radio)
 

Static Public Member Functions

static void Init ()
 Creates a UDP socket, listens for new radios on the network, and adds them to the RadioList More...
 
static void CloseSession ()
 
static void OnWanListReceivedEventHandler (List< Radio > radios)
 
static void OnRadioAddedEventHandler (Radio radio)
 
static void OnRadioRemovedEventHandler (Radio radio)
 

Public Attributes

const double RADIOLIST_TIMEOUT_SECONDS = 15.0
 

Properties

static List< RadioRadioList [get]
 Contains a list of discovered Radios on the network More...
 
static string ProgramName [get, set]
 Sets the name of the program that is using this API More...
 
static bool IsGUI [get, set]
 Sets whether the program using this API is a GUI More...
 

Events

static WanListReceivedEventHandler WanListReceived
 This event fires when a new radio on the network has been detected More...
 
static RadioAddedEventHandler RadioAdded
 This event fires when a new radio on the network has been detected More...
 
static RadioRemovedEventHandler RadioRemoved
 

Member Function Documentation

static void Flex.Smoothlake.FlexLib.API.CloseSession ( )
static
static void Flex.Smoothlake.FlexLib.API.Init ( )
static

Creates a UDP socket, listens for new radios on the network, and adds them to the RadioList

static void Flex.Smoothlake.FlexLib.API.OnRadioAddedEventHandler ( Radio  radio)
static
static void Flex.Smoothlake.FlexLib.API.OnRadioRemovedEventHandler ( Radio  radio)
static
static void Flex.Smoothlake.FlexLib.API.OnWanListReceivedEventHandler ( List< Radio radios)
static
delegate void Flex.Smoothlake.FlexLib.API.RadioAddedEventHandler ( Radio  radio)
delegate void Flex.Smoothlake.FlexLib.API.RadioRemovedEventHandler ( Radio  radio)
delegate void Flex.Smoothlake.FlexLib.API.WanListReceivedEventHandler ( List< Radio radios)

Member Data Documentation

const double Flex.Smoothlake.FlexLib.API.RADIOLIST_TIMEOUT_SECONDS = 15.0

Property Documentation

bool Flex.Smoothlake.FlexLib.API.IsGUI
staticgetset

Sets whether the program using this API is a GUI

string Flex.Smoothlake.FlexLib.API.ProgramName
staticgetset

Sets the name of the program that is using this API

List<Radio> Flex.Smoothlake.FlexLib.API.RadioList
staticget

Contains a list of discovered Radios on the network

Event Documentation

RadioAddedEventHandler Flex.Smoothlake.FlexLib.API.RadioAdded
static

This event fires when a new radio on the network has been detected

RadioRemovedEventHandler Flex.Smoothlake.FlexLib.API.RadioRemoved
static
WanListReceivedEventHandler Flex.Smoothlake.FlexLib.API.WanListReceived
static

This event fires when a new radio on the network has been detected


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