ArduinoDumbDisplay v0.9.9-r34
DumbDisplay Arduino Library -- https://github.com/trevorwslee/Arduino-DumbDisplay
 
Loading...
Searching...
No Matches
JsonDDTunnelMultiplexer Class Reference

#include <dumbdisplay.h>

Public Member Functions

 JsonDDTunnelMultiplexer (JsonDDTunnel **tunnels, int8_t tunnelCount)
 
int count ()
 
bool eof ()
 
int read (String &fieldId, String &fieldValue)
 
void release ()
 
void reconnect ()
 

Detailed Description

Class for "tunnel" multiplexer

Attention
will not delete "tunnels" passed in

Constructor & Destructor Documentation

◆ JsonDDTunnelMultiplexer()

JsonDDTunnelMultiplexer::JsonDDTunnelMultiplexer ( JsonDDTunnel **  tunnels,
int8_t  tunnelCount 
)
Attention
constructed via DumbDisplay object

Member Function Documentation

◆ read()

int JsonDDTunnelMultiplexer::read ( String &  fieldId,
String &  fieldValue 
)
Returns
the index of the tunnel the field read from; -1 if non ready to read