Base class for DD "tunnel". More...
#include <dumbdisplay.h>
Public Member Functions | |
DDTunnel (const String &type, int8_t tunnelId, const String ¶ms, const String &endPoint) | |
for internal use only | |
void | afterConstruct (bool connectNow) |
const String & | getEndpoint () |
virtual void | release () |
virtual void | reconnect () |
void | reconnectTo (const String &endPoint) |
void | reconnectToSetParams (const String &endPoint, const String ¶ms) |
void | reconnectToEndpoint (const DDTunnelEndpoint endpoint) |
reconnect to specified endpoint. See DDTunnelEndpoint. | |
const String & | getTunnelId () const |
virtual void | handleInput (const String &data, uint8_t *fbBytes, bool final) |
Protected Attributes | |
String | type |
String | tunnelId |
String | endPoint |
String | headers |
String | attachmentId |
String | params |
unsigned long | connectMillis |
Additional Inherited Members | |
Public Attributes inherited from DDObject | |
int8_t | objectType |
object type – DD_OBJECT_TYPE_LAYER or DD_OBJECT_TYPE_TUNNEL | |
String | customData |
custom data | |
Base class for DD "tunnel".
|
inlinevirtual |
Reimplemented in DDBufferedTunnel.
|
inline |
reconnect to specified endpoint with parameters
endPoint | endpoint to connect to |
params | parameters to to end point; empty if none |