Diffusion C API  6.10.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
transport_types.h File Reference

Structures and definitions specific to transport related functions. More...

Data Structures

struct  transport_s
 

Enumerations

enum  TRANSPORT_TYPE_T { TRANSPORT_TYPE_WEBSOCKET, TRANSPORT_TYPE_HTTP_LONG_POLL, TRANSPORT_TYPE_OTHER }
 Indicates the transport mechanism by which the client connected. More...
 
enum  CLIENT_TYPE_T {
  CLIENT_TYPE_JAVASCRIPT_BROWSER, CLIENT_TYPE_ANDROID, CLIENT_TYPE_IOS, CLIENT_TYPE_JAVA,
  CLIENT_TYPE_DOTNET, CLIENT_TYPE_C, CLIENT_TYPE_OTHER, CLIENT_TYPE_PYTHON,
  CLIENT_TYPE_MQTT
}
 Indicates the type of client which is interacting with the application (if known). More...
 
enum  ADDRESS_TYPE_T { ADDRESS_TYPE_GLOBAL, ADDRESS_TYPE_LOCAL, ADDRESS_TYPE_LOOPBACK, ADDRESS_TYPE_UNKNOWN }
 Describes the origin of an address; whether it is external to the host machine, local, loopback or unknown. More...
 

Detailed Description

Structures and definitions specific to transport related functions.

Enumeration Type Documentation

Describes the origin of an address; whether it is external to the host machine, local, loopback or unknown.

Enumerator
ADDRESS_TYPE_GLOBAL 

The address is a standard global internet address.

ADDRESS_TYPE_LOCAL 

The address is a site local address.

The address is part of the IP subset that is reserved for private networks.

ADDRESS_TYPE_LOOPBACK 

The address is assigned to the server loopback interface.

ADDRESS_TYPE_UNKNOWN 

The address type is unknown.

Indicates the type of client which is interacting with the application (if known).

Enumerator
CLIENT_TYPE_JAVASCRIPT_BROWSER 

JavaScript, running within a web browser.

CLIENT_TYPE_ANDROID 

Android.

CLIENT_TYPE_IOS 

iOS.

CLIENT_TYPE_JAVA 

Java.

CLIENT_TYPE_DOTNET 

.Net.

CLIENT_TYPE_C 

C.

CLIENT_TYPE_OTHER 

Client type is not known to the local session, possibly because the remote client is using a different version of Diffusion.

CLIENT_TYPE_PYTHON 

Python.

CLIENT_TYPE_MQTT 

MQTT.

Indicates the transport mechanism by which the client connected.

Enumerator
TRANSPORT_TYPE_WEBSOCKET 

Websocket protocol.

TRANSPORT_TYPE_HTTP_LONG_POLL 

HTTP long polling transport.

TRANSPORT_TYPE_OTHER 

Transport type is not known to the local session, possibly because the remote client is using a different version of Diffusion.