Using Communication Components > FCConnectionLight object

 

FCConnectionLight object

The FCConnectionLight API provides the client-side and server-side functionality for connecting your objects to the server and cleaning up. It also enables you to set the length of time it takes to send data to and from the server.

 
Property summary for the FCConnectionLight object

Property

Description

FCConnectionLight.measurementInterval

Controls how often bandwidth and latency are measured.

FCConnectionLight.latencyThreshold

Determines the latency beyond which the light turns yellow.


 
Method summary for the FCConnectionLight object

Method

Description

FCConnectionLight.connect

Begins monitoring the state of the connection.

FCConnectionLight.close

Stops monitoring the connection and cleans up after itself.