RobotCore
Robot Core Documentation
Public Member Functions | List of all members
robotCore.Network.NetworkReceiver Interface Reference

The NetworkReceiver interface provides a callback for received data on a network connection. More...

Inheritance diagram for robotCore.Network.NetworkReceiver:
robotCore.PiCamera

Public Member Functions

void processData (String command)
 
void connected ()
 
void disconnected ()
 

Detailed Description

The NetworkReceiver interface provides a callback for received data on a network connection.

Author
John Gaby

Member Function Documentation

◆ processData()

void robotCore.Network.NetworkReceiver.processData ( String  command)

When data is received over the network connection, it is treated as a string. When the newline character is received, the entire string representing this line is sent to the data handler via this function

Parameters
command- Specifies the data received

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