Classes | Public Member Functions | Private Member Functions | Private Attributes
com.github.rosjava.android_extras.ros_master_browser.DiscoveryHandler Class Reference
Inheritance diagram for com.github.rosjava.android_extras.ros_master_browser.DiscoveryHandler:
Inheritance graph

List of all members.


class  ServiceAddedTask
class  ServiceRemovedTask
class  ServiceResolvedTask

Public Member Functions

 DiscoveryHandler (TextView tv, DiscoveryAdapter discovery_adapter, ArrayList< DiscoveredService > discovered_services)
void serviceAdded (DiscoveredService service)
void serviceRemoved (DiscoveredService service)
void serviceResolved (DiscoveredService service)

Private Member Functions

void uiLog (String...messages)

Private Attributes

ArrayList< DiscoveredService > discovered_services
DiscoveryAdapter discovery_adapter
TextView text_view

Detailed Description

This class is the callback handler for services being listened for by the jmdns zeroconf class.

Usually we should do a bit of checking to make sure that any service isn't getting repeated on another interface, but for now we can assume your android has only the one interface so that we handle each added/resolved/removed as a unique entry.

Definition at line 38 of file

Constructor & Destructor Documentation

com.github.rosjava.android_extras.ros_master_browser.DiscoveryHandler.DiscoveryHandler ( TextView  tv,
DiscoveryAdapter  discovery_adapter,
ArrayList< DiscoveredService >  discovered_services 
) [inline]

Definition at line 184 of file

Member Function Documentation

Definition at line 193 of file

Definition at line 197 of file

Definition at line 201 of file

Definition at line 208 of file

Member Data Documentation

Definition at line 177 of file

Definition at line 178 of file

Definition at line 179 of file

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

Author(s): Daniel Stonier
autogenerated on Thu Jun 6 2019 20:13:19