reverted HTTPCLient debug back to defaulted off

Dependencies:   HTTPClient-SSL

Fork of MTS-Socket by Keith Ruenheck

Embed: (wiki syntax)

« Back to documentation index

Transport Class Reference

Transport Class Reference

This class has been added to the standard mbed Socket library enabling people to use the Socket library interfaces for different transports. More...

#include <Transport.h>

Static Public Member Functions

static void setTransport (IPStack *type)
 This method allows you to set the transport to be used when creatin other objects from the Socket folder like TCPSocketConnection and UDPSocket.
static IPStackgetInstance ()
 This method is used within the Socket class to get the appropraite transport as an IPStack object.

Detailed Description

This class has been added to the standard mbed Socket library enabling people to use the Socket library interfaces for different transports.

Use this class prior to instantiating any of the other classes in this folder to determine the underlying transport that will be used by them. It is important to know that the transport classes themsleves which derive from IPStack.h, must be properly initialized and connected before any of the Socket package classes can be used.

Definition at line 13 of file Transport.h.


Member Function Documentation

IPStack * getInstance (  ) [static]

This method is used within the Socket class to get the appropraite transport as an IPStack object.

In general you do not need to call this directly, but simply use the other classes in this folder.

Returns:
a pointer to an object that implements IPStack.

Definition at line 10 of file Transport.cpp.

void setTransport ( IPStack type ) [static]

This method allows you to set the transport to be used when creatin other objects from the Socket folder like TCPSocketConnection and UDPSocket.

Parameters:
typethe type of underlying transport to be used as an IPStack object.

Definition at line 5 of file Transport.cpp.