TIBCO FTL®
Public Member Functions | List of all members
TIBCO.FTL.ITibProperties Interface Reference

Properties objects represent a set of configuration properties (name and value pairs). More...

Inheritance diagram for TIBCO.FTL.ITibProperties:

Public Member Functions

bool Exists (string name)
 Check whether a property has been set. More...
 
bool GetBoolean (string name)
 Get a boolean property. More...
 
double GetDouble (string name)
 Get a double property. More...
 
int GetInt (string name)
 Get an integer property. More...
 
long GetLong (string name)
 Get an integer property. More...
 
IMessage GetMessage (string name)
 Get a IMessage property. More...
 
string GetString (string name)
 Get a string property. More...
 
bool Remove (string name)
 Remove a property. More...
 
void Set (string name, bool value)
 Set a boolean property. More...
 
void Set (string name, string value)
 Set a string property. More...
 
void Set (string name, int value)
 Set an integer property. More...
 
void Set (String name, long value)
 Set an long property. More...
 
void Set (String name, double value)
 Set a double property. More...
 
void Set (string name, IMessage value)
 Set a IMessage property. More...
 

Detailed Description

Properties objects represent a set of configuration properties (name and value pairs).

Programs pass properties objects to FTL object creation calls.

Customers do not implement this interface.

Each property name includes an indication of the required datatype for the value. For example, FTL.EVENTQUEUE_PROPERTY_INT_DISCARD_POLICY requires an integer value; FTL.REALM_PROPERTY_STRING_USERNAME requires a string value.

Set Method Semantics

To create a properties object, call FTL.CreateProperties. Programs must IDisposable.Dispose properties objects to reclaim resources.

See Also
FTL.CreateProperties

Member Function Documentation

bool TIBCO.FTL.ITibProperties.Exists ( string  name)

Check whether a property has been set.

Parameters
nameThe method checks for existence of this property.
Returns
Boolean; true if the property is present, false otherwise.
bool TIBCO.FTL.ITibProperties.GetBoolean ( string  name)

Get a boolean property.

Parameters
nameThe method gets the value of this property.
Returns
A boolean property value.
double TIBCO.FTL.ITibProperties.GetDouble ( string  name)

Get a double property.

Parameters
nameThe method gets the value of this property.
Returns
An double property value.
int TIBCO.FTL.ITibProperties.GetInt ( string  name)

Get an integer property.

Parameters
nameThe method gets the value of this property.
Returns
An integer property value.
long TIBCO.FTL.ITibProperties.GetLong ( string  name)

Get an integer property.

Parameters
nameThe method gets the value of this property.
Returns
An integer property value.
IMessage TIBCO.FTL.ITibProperties.GetMessage ( string  name)

Get a IMessage property.

Parameters
nameThe method gets the value of this property.
Returns
A string property value.
string TIBCO.FTL.ITibProperties.GetString ( string  name)

Get a string property.

Parameters
nameThe method gets the value of this property.
Returns
A string property value.
bool TIBCO.FTL.ITibProperties.Remove ( string  name)

Remove a property.

Parameters
nameThe method removes this property.
Returns
Boolean; true if the method found and removed the property, false if the property was not present.
void TIBCO.FTL.ITibProperties.Set ( string  name,
bool  value 
)

Set a boolean property.

Parameters
nameThe method sets this property.
valueThe method sets the property to this value.
void TIBCO.FTL.ITibProperties.Set ( string  name,
string  value 
)

Set a string property.

Parameters
nameThe method sets this property.
valueThe method sets the property to this value.
void TIBCO.FTL.ITibProperties.Set ( string  name,
int  value 
)

Set an integer property.

Parameters
nameThe method sets this property.
valueThe method sets the property to this value.
void TIBCO.FTL.ITibProperties.Set ( String  name,
long  value 
)

Set an long property.

Parameters
nameThe method sets this property.
valueThe method sets the property to this value.
void TIBCO.FTL.ITibProperties.Set ( String  name,
double  value 
)

Set a double property.

Parameters
nameThe method sets this property.
valueThe method sets the property to this value.
void TIBCO.FTL.ITibProperties.Set ( string  name,
IMessage  value 
)

Set a IMessage property.

Parameters
nameThe method sets this property.
valueThe method sets the property to this value.