Diffusion .NET Classic API - Core and Common  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.DiffusionCore.Connection.HttpServerDetailsImpl Class Reference

Defines the details of an HTTP connection to a Diffusion Web Server. More...

Inheritance diagram for PushTechnology.DiffusionCore.Connection.HttpServerDetailsImpl:
PushTechnology.DiffusionCore.Connection.ServerDetailsImpl PushTechnology.DiffusionCore.Connection.IServerDetails PushTechnology.DiffusionCore.Connection.HttpSslServerDetailsImpl

Public Member Functions

 HttpServerDetailsImpl (TransportProtocol protocol)
 Constructor. More...
 
 HttpServerDetailsImpl ()
 Constructor. More...
 
 HttpServerDetailsImpl (Uri url)
 Constructor. More...
 
 HttpServerDetailsImpl (string urlSpec)
 Constructor. More...
 
virtual Uri GetDefaultUrl ()
 Creates a default url. More...
 
override string ToString ()
 Converts this server details object to a human-readable string. More...
 
- Public Member Functions inherited from PushTechnology.DiffusionCore.Connection.ServerDetailsImpl
void SetTopics (TopicSet topics)
 Sets the topic(s) to be subscribed to on connection. More...
 
void SetTopics (params string[] topics)
 Sets the default topic(s) to be subscribed on connection. More...
 
TopicSet GetTopics ()
 Returns the default list of topics to subscribe to on connection. More...
 
virtual void SetHostAndPort ()
 Sets the host and port if we're using a url rather than explicit host/port connection details. More...
 
bool IsValidUrl ()
 Determines whether the Url is valid. More...
 
object Clone ()
 Clones this object. More...
 
override string ToString ()
 Returns the string representation of this class. More...
 

Properties

override Uri Url [get, set]
 Get/set the URL. More...
 
override string Host [get, set]
 Get/set the host. More...
 
override int Port [get, set]
 Get/set the port. More...
 
- Properties inherited from PushTechnology.DiffusionCore.Connection.ServerDetailsImpl
Guid Id [get, set]
 The unique id of these server details. More...
 
int ConnectionTimeout [get, set]
 The timeout for connection attempts (in milliseconds). More...
 
TransportProtocol Protocol [get, set]
 The transport protocol being used. More...
 
int TcpKeepAliveInterval [get, set]
 The TCP keepalive interval (in milliseconds). More...
 
bool TcpNoDelay [get, set]
 The TCP nodelay value. More...
 
virtual Uri Url [get, set]
 Get/set the host name. More...
 
virtual string Host [get, set]
 Get/set the host name. More...
 
virtual int Port [get, set]
 Get/set the port number. More...
 
IPEndPoint LocalSocketAddress [get, set]
 Get/set the (optional) local socket address - used prior to connection. More...
 
V4Credentials Credentials [get, set]
 Get/set the credentials to be used. More...
 
string Name [get, set]
 This is used as a helper when persisting properties for the Test Tool. More...
 
string UserName [get, set]
 Credentials - user name. More...
 
string Password [get, set]
 Credentials - password. More...
 
bool AutoAcknowledge [get, set]
 Automatically acknowledge messages. More...
 
int InputBufferSize [get, set]
 Get/set the input buffer size for socket connection buffers. More...
 
bool IsSecure [get, set]
 Get/set whether this is a secure connection type. More...
 
RemoteCertificateValidationCallback RemoteCertificateValidationCallback [get, set]
 Get/set a callback to use to validate a remote certificate More...
 
LocalCertificateSelectionCallback LocalCertificateSelectionCallback [get, set]
 Get/set a callback to use to select a client certificate More...
 
IProxyConnector ProxyConnector [get, set]
 Get / set an object which can be used to handshake with a proxy server More...
 
int OutputBufferSize [get, set]
 Get/set the output buffer size for socket connection buffers. More...
 
long WriteTimeout [get, set]
 The write timeout. More...
 
- Properties inherited from PushTechnology.DiffusionCore.Connection.IServerDetails
Guid Id [get]
 The unique id of these server details. More...
 
int ConnectionTimeout [get, set]
 The timeout for connection attempts (in milliseconds). More...
 
TransportProtocol Protocol [get, set]
 The transport protocol being used. More...
 
int TcpKeepAliveInterval [get, set]
 The TCP keepalive interval (in milliseconds). More...
 
Uri Url [get, set]
 Get/set the host name. More...
 
string Host [get, set]
 Get/set the host name. More...
 
int Port [get, set]
 Get/set the port number. More...
 
IPEndPoint LocalSocketAddress [get, set]
 Get/set the (optional) local socket address - used prior to connection. More...
 
V4Credentials Credentials [get, set]
 Get/set the credentials to be used. More...
 
string Name [get, set]
 This is used as a helper when persisting properties for the Test Tool. More...
 
string UserName [get, set]
 Credentials - user name. More...
 
string Password [get, set]
 Credentials - password. More...
 
bool AutoAcknowledge [get, set]
 Automatically acknowledge messages. More...
 
int InputBufferSize [get, set]
 Get/set the input buffer size for socket connection buffers. More...
 
int OutputBufferSize [get, set]
 Get/set the output buffer size for socket connection buffers. More...
 
long WriteTimeout [get, set]
 The write timeout. More...
 
bool IsSecure [get, set]
 Get/set whether this is a secure connection type. More...
 
RemoteCertificateValidationCallback RemoteCertificateValidationCallback [get, set]
 Get/set a callback to use to validate a remote certificate More...
 
LocalCertificateSelectionCallback LocalCertificateSelectionCallback [get, set]
 Get/set a callback to use to select a client certificate More...
 
IProxyConnector ProxyConnector [get, set]
 Get/set the proxy connector object. More...
 
bool TcpNoDelay [get, set]
 Get/set the TCP nodelay value. More...
 

Additional Inherited Members

- Protected Attributes inherited from PushTechnology.DiffusionCore.Connection.ServerDetailsImpl
Uri theUrl
 The Uniform Resource Identifier. More...
 

Detailed Description

Defines the details of an HTTP connection to a Diffusion Web Server.

Constructor & Destructor Documentation

PushTechnology.DiffusionCore.Connection.HttpServerDetailsImpl.HttpServerDetailsImpl ( TransportProtocol  protocol)

Constructor.

Parameters
protocol
PushTechnology.DiffusionCore.Connection.HttpServerDetailsImpl.HttpServerDetailsImpl ( )

Constructor.

PushTechnology.DiffusionCore.Connection.HttpServerDetailsImpl.HttpServerDetailsImpl ( Uri  url)

Constructor.

Parameters
url
PushTechnology.DiffusionCore.Connection.HttpServerDetailsImpl.HttpServerDetailsImpl ( string  urlSpec)

Constructor.

Parameters
urlSpec

Member Function Documentation

virtual Uri PushTechnology.DiffusionCore.Connection.HttpServerDetailsImpl.GetDefaultUrl ( )
virtual

Creates a default url.

Returns

Reimplemented in PushTechnology.DiffusionCore.Connection.HttpSslServerDetailsImpl.

override string PushTechnology.DiffusionCore.Connection.HttpServerDetailsImpl.ToString ( )

Converts this server details object to a human-readable string.

Returns

Property Documentation

override string PushTechnology.DiffusionCore.Connection.HttpServerDetailsImpl.Host
getset

Get/set the host.

override int PushTechnology.DiffusionCore.Connection.HttpServerDetailsImpl.Port
getset

Get/set the port.

override Uri PushTechnology.DiffusionCore.Connection.HttpServerDetailsImpl.Url
getset

Get/set the URL.