reverted HTTPCLient debug back to defaulted off

Dependencies:   HTTPClient-SSL

Fork of MTS-Socket by Keith Ruenheck

Embed: (wiki syntax)

« Back to documentation index

CommInterface Class Reference

CommInterface Class Reference

This pure virtual class for communications link of interface. More...

#include <CommInterface.h>

Inherited by IPStack.

Public Member Functions

virtual bool connect ()=0
 This method is used to establish a connection on a communications link.
virtual void disconnect ()=0
 This method is used to disconnect a communications like.
virtual bool isConnected ()=0
 This method is used to check if the link is currently connected.
virtual void reset ()=0
 This method is used to reset the device that provides the communications capability.

Detailed Description

This pure virtual class for communications link of interface.

This class should be derived from when creating a class to manage the underlying connection of a new link type.

Definition at line 8 of file CommInterface.h.


Member Function Documentation

virtual bool connect (  ) [pure virtual]

This method is used to establish a connection on a communications link.

Required configurations and settings should be done in other calls or an init function.

Returns:
true if the connection was successfully established, otherwise false.
virtual void disconnect (  ) [pure virtual]

This method is used to disconnect a communications like.

This includes any cleanup required before another connection can be made.

virtual bool isConnected (  ) [pure virtual]

This method is used to check if the link is currently connected.

Returns:
true if currently connected, otherwise false.
virtual void reset (  ) [pure virtual]

This method is used to reset the device that provides the communications capability.

Note that this call should block until the commincations device is ready for use.