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

Class representing Diffusion properties. More...

Inheritance diagram for PushTechnology.DiffusionCore.PropertyHandlers.DiffusionProperties:
PushTechnology.DiffusionCore.PropertyHandler.BaseProperties PushTechnology.DiffusionCore.PropertyHandler.PropertyHandlerImpl PushTechnology.DiffusionCore.PropertyHandler.IPropertyHandler

Static Public Attributes

static string propertiesName = "diffusion"
 The default name for the Diffusion properties file. More...
 
static string maxMessageSize = "max.message.size"
 Maximum message size accessed only via SystemProperties. More...
 
static string messageLengthSize = "message.length.size"
 Message length. More...
 
static string defaultLoadMessageCapacity = "default.load.message.capacity"
 Default load message capacity. More...
 
static string defaultDeltaMessageCapacity = "default.delta.message.capacity"
 Default delta message capacity. More...
 
static string connectionTimeout = "connection.timeout"
 Connection timeout accessed only via SystemProperties. More...
 

Protected Member Functions

override string GetPropertiesName ()
 Returns the default prefix of a Diffusion properties file. More...
 
- Protected Member Functions inherited from PushTechnology.DiffusionCore.PropertyHandler.BaseProperties
 BaseProperties (bool dynamic, bool loadFromFile, bool useIsolatedStorage)
 Constructor. More...
 
string GetPropertiesFileName ()
 Returns the filename of the properties file. More...
 
string GetIsolatedStoreResourceName ()
 Returns the isolated storage resource name of the properties file. More...
 
int GetPort (string key)
 Gets a port value. More...
 

Properties

static DiffusionProperties Instance [get]
 Returns the instance of the Diffusion properties object. More...
 
- Properties inherited from PushTechnology.DiffusionCore.PropertyHandler.PropertyHandlerImpl
Properties Properties [get, set]
 Returns the set of properties. More...
 

Additional Inherited Members

- Public Member Functions inherited from PushTechnology.DiffusionCore.PropertyHandler.BaseProperties
override string GetProperty (string key)
 Gets a property given a string-based key. More...
 
void SaveProperties (string header)
 Persists the properties. More...
 
- Public Member Functions inherited from PushTechnology.DiffusionCore.PropertyHandler.PropertyHandlerImpl
 PropertyHandlerImpl ()
 Constructor. More...
 
 PropertyHandlerImpl (Properties properties)
 Constructor. More...
 
bool PropertyExists (string key)
 Indicates whether a value for a particular property exists. More...
 
string GetProperty (string key, string defaultValue)
 Get a property if it exists, otherwise return a default value. More...
 
string GetProperty (string key, string defaultValue, params string[] allowedValues)
 Get a property if it exists and validate it against a set of allowed values. More...
 
string GetMandatoryProperty (string key)
 Get a mandatory property. More...
 
void SetProperty (string key, string value)
 Sets a property value. More...
 
int GetIntegerProperty (string key)
 Get an integer property. More...
 
int GetIntegerProperty (string key, int defaultValue)
 Get an integer property if it exists, otherwise return a default value. More...
 
long GetLongProperty (string key)
 Get a long property. More...
 
long GetLongProperty (string key, long defaultValue)
 Get a long property if it exists, otherwise return a default value. More...
 
List< string > GetListProperty (string key)
 Gets the value of a list property. More...
 
ISet< string > GetSetProperty (string key)
 Gets the value of a set property. More...
 
bool GetBooleanProperty (string key)
 Gets the value of a boolean property. More...
 
- Static Public Member Functions inherited from PushTechnology.DiffusionCore.PropertyHandler.BaseProperties
static void SetPropertiesDirectory (string dirName)
 Allows the properties directory to be set. More...
 

Detailed Description

Class representing Diffusion properties.

Member Function Documentation

override string PushTechnology.DiffusionCore.PropertyHandlers.DiffusionProperties.GetPropertiesName ( )
protectedvirtual

Returns the default prefix of a Diffusion properties file.

Returns

Implements PushTechnology.DiffusionCore.PropertyHandler.BaseProperties.

Member Data Documentation

string PushTechnology.DiffusionCore.PropertyHandlers.DiffusionProperties.connectionTimeout = "connection.timeout"
static

Connection timeout accessed only via SystemProperties.

string PushTechnology.DiffusionCore.PropertyHandlers.DiffusionProperties.defaultDeltaMessageCapacity = "default.delta.message.capacity"
static

Default delta message capacity.

string PushTechnology.DiffusionCore.PropertyHandlers.DiffusionProperties.defaultLoadMessageCapacity = "default.load.message.capacity"
static

Default load message capacity.

string PushTechnology.DiffusionCore.PropertyHandlers.DiffusionProperties.maxMessageSize = "max.message.size"
static

Maximum message size accessed only via SystemProperties.

string PushTechnology.DiffusionCore.PropertyHandlers.DiffusionProperties.messageLengthSize = "message.length.size"
static

Message length.

string PushTechnology.DiffusionCore.PropertyHandlers.DiffusionProperties.propertiesName = "diffusion"
static

The default name for the Diffusion properties file.

Property Documentation

DiffusionProperties PushTechnology.DiffusionCore.PropertyHandlers.DiffusionProperties.Instance
staticget

Returns the instance of the Diffusion properties object.