![]() |
Diffusion .NET Classic API - Core and Common
5.9.4
|
Class representing Diffusion properties. More...
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... | |
![]() | |
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 | Properties [get, set] |
Returns the set of properties. More... | |
Additional Inherited Members | |
![]() | |
override string | GetProperty (string key) |
Gets a property given a string-based key. More... | |
void | SaveProperties (string header) |
Persists the properties. More... | |
![]() | |
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 void | SetPropertiesDirectory (string dirName) |
Allows the properties directory to be set. More... | |
Class representing Diffusion properties.
|
protectedvirtual |
Returns the default prefix of a Diffusion properties file.
Implements PushTechnology.DiffusionCore.PropertyHandler.BaseProperties.
|
static |
Connection timeout accessed only via SystemProperties.
|
static |
Default delta message capacity.
|
static |
Default load message capacity.
|
static |
Maximum message size accessed only via SystemProperties.
|
static |
Message length.
|
static |
The default name for the Diffusion properties file.
|
staticget |
Returns the instance of the Diffusion properties object.