Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.DiffusionCore.TransportType Class Reference

Transport type. More...

Inheritance diagram for PushTechnology.DiffusionCore.TransportType:
PushTechnology.DiffusionCore.AdvancedEnum< T >

Static Public Member Functions

static TransportType FromCode (byte code)
 Returns the constant associated with the given code. More...
 
- Static Public Member Functions inherited from PushTechnology.DiffusionCore.AdvancedEnum< T >
static T ValueOf (string name)
 Returns the value of this enum. More...
 
static IEnumerable< T > Values ()
 Returns the values of this enum. More...
 

Static Public Attributes

static readonly TransportType WEBSOCKET = new TransportType( TransportTypeEnum.WEBSOCKET, 0 )
 WebSocket protocol. More...
 
static readonly TransportType HTTP_LONG_POLL = new TransportType( TransportTypeEnum.HTTP_LONG_POLL, 1 )
 HTTP long polling transport. More...
 
static readonly TransportType IFRAME_LONG_POLL = new TransportType( TransportTypeEnum.IFRAME_LONG_POLL, 2 )
 HTTP long poll, re-issued with HTML script tags. More...
 
static readonly TransportType IFRAME_STREAMING = new TransportType( TransportTypeEnum.IFRAME_STREAMING, 3 )
 HTTP 1.1. Chunked transfer delivered to a browser 'forever frame', wrapped in HTML script tags. More...
 
static readonly TransportType DPT = new TransportType( TransportTypeEnum.DPT, 4 )
 Diffusion protocol based on TCP sockets. More...
 
static readonly TransportType HTTPC = new TransportType( TransportTypeEnum.HTTPC, 5 )
 Diffusion protocol based on HTTP 1.1 chunked transfer. More...
 
static readonly TransportType HTTPC_DUPLEX = new TransportType( TransportTypeEnum.HTTPC_DUPLEX, 6 )
 Diffusion protocol based on HTTP 1.1 chunked transfer. More...
 
static readonly TransportType OTHER = new TransportType( TransportTypeEnum.OTHER, 7 )
 Transport type is not known to the local session, probably because the remote client is using a different version of Diffusion. More...
 

Properties

byte Code [get, set]
 Returns the byte representation of the enum content. More...
 
- Properties inherited from PushTechnology.DiffusionCore.AdvancedEnum< T >
string Name [get]
 Returns the name of this enum. More...
 

Additional Inherited Members

- Public Member Functions inherited from PushTechnology.DiffusionCore.AdvancedEnum< T >
override string ToString ()
 
Returns
A human readable representation of the value

 
- Public Attributes inherited from PushTechnology.DiffusionCore.AdvancedEnum< T >
Enum INTERNAL_ENUM
 The internal enum value. More...
 

Detailed Description

Transport type.

Member Function Documentation

static TransportType PushTechnology.DiffusionCore.TransportType.FromCode ( byte  code)
static

Returns the constant associated with the given code.

Parameters
code
Returns

Member Data Documentation

readonly TransportType PushTechnology.DiffusionCore.TransportType.DPT = new TransportType( TransportTypeEnum.DPT, 4 )
static

Diffusion protocol based on TCP sockets.

readonly TransportType PushTechnology.DiffusionCore.TransportType.HTTP_LONG_POLL = new TransportType( TransportTypeEnum.HTTP_LONG_POLL, 1 )
static

HTTP long polling transport.

readonly TransportType PushTechnology.DiffusionCore.TransportType.HTTPC = new TransportType( TransportTypeEnum.HTTPC, 5 )
static

Diffusion protocol based on HTTP 1.1 chunked transfer.

readonly TransportType PushTechnology.DiffusionCore.TransportType.HTTPC_DUPLEX = new TransportType( TransportTypeEnum.HTTPC_DUPLEX, 6 )
static

Diffusion protocol based on HTTP 1.1 chunked transfer.

readonly TransportType PushTechnology.DiffusionCore.TransportType.IFRAME_LONG_POLL = new TransportType( TransportTypeEnum.IFRAME_LONG_POLL, 2 )
static

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

readonly TransportType PushTechnology.DiffusionCore.TransportType.IFRAME_STREAMING = new TransportType( TransportTypeEnum.IFRAME_STREAMING, 3 )
static

HTTP 1.1. Chunked transfer delivered to a browser 'forever frame', wrapped in HTML script tags.

readonly TransportType PushTechnology.DiffusionCore.TransportType.OTHER = new TransportType( TransportTypeEnum.OTHER, 7 )
static

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

readonly TransportType PushTechnology.DiffusionCore.TransportType.WEBSOCKET = new TransportType( TransportTypeEnum.WEBSOCKET, 0 )
static

WebSocket protocol.

Property Documentation

byte PushTechnology.DiffusionCore.TransportType.Code
getset

Returns the byte representation of the enum content.


The documentation for this class was generated from the following file: