Diffusion C API  5.9.24
 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_IFRAME_LONG_POLL, TRANSPORT_TYPE_IFRAME_STREAMING,
  TRANSPORT_TYPE_DPT, TRANSPORT_TYPE_HTTPC, TRANSPORT_TYPE_HTTPC_DUPLEX, TRANSPORT_TYPE_OTHER
}
 Indicates the transport mechanism by which the client connected. More...
 
enum  CLIENT_TYPE_T {
  CLIENT_TYPE_JAVASCRIPT_BROWSER, CLIENT_TYPE_JAVASCRIPT_FLASH, CLIENT_TYPE_JAVASCRIPT_SILVERLIGHT, CLIENT_TYPE_ANDROID,
  CLIENT_TYPE_IOS, CLIENT_TYPE_J2ME, CLIENT_TYPE_FLASH, CLIENT_TYPE_SILVERLIGHT,
  CLIENT_TYPE_JAVA, CLIENT_TYPE_DOTNET, CLIENT_TYPE_C, CLIENT_TYPE_INTERNAL,
  CLIENT_TYPE_OTHER
}
 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_JAVASCRIPT_FLASH 

JavaScript, running within a web browser, using a Flash plugin to host a transport bridge.

CLIENT_TYPE_JAVASCRIPT_SILVERLIGHT 

JavaScript, running within a web browser, using a Sliverlight plugin to host a transport bridge.

CLIENT_TYPE_ANDROID 

Android.

CLIENT_TYPE_IOS 

iOS.

CLIENT_TYPE_J2ME 

J2ME. Includes Blackberry clients.

CLIENT_TYPE_FLASH 

Flash / Flex.

CLIENT_TYPE_SILVERLIGHT 

Silverlight.

CLIENT_TYPE_JAVA 

Java.

CLIENT_TYPE_DOTNET 

.Net.

CLIENT_TYPE_C 

C.

CLIENT_TYPE_INTERNAL 

Diffusion internal client. For example, the Introspector.

CLIENT_TYPE_OTHER 

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

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_IFRAME_LONG_POLL 

HTTP long poll, re-issued with HTML <script> tags.

TRANSPORT_TYPE_IFRAME_STREAMING 

HTTP 1.1 chunked transfer delivered to a browser "forever frame", wrapped in HTML <script> tags.

TRANSPORT_TYPE_DPT 

Diffusion protocol based on TCP sockets.

TRANSPORT_TYPE_HTTPC 

Diffusion protocol based on HTTP 1.1. chunked transfer.

TRANSPORT_TYPE_HTTPC_DUPLEX 

Diffusion protocol based on HTTP 1.1. chunked transfer.

TRANSPORT_TYPE_OTHER 

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