Open Transport objects  begin()

Chapter 5: General Objects and Methods

addProp()

Description

Adds properties to a message. See the Syntax section.

Syntax

addProp(proptype ptype, string propname, string propvalue);

Parameter

Description

ptype

Type of the property to add. These include:

OT_PROP_CONTEXT

OT_PROP_TRANSPORT

OT_PROP_GET

OT_PROP_PUT

propname

Name of the property to add.

propvalue

Value of the property to add.

Return value

None.

Usage

Pointer to object

Object

pot->addProp    (OT_PROP_TRANSPORT,    "NNOT_TIL_OPEN_TSI”,    ”TestQueue”);

string propname;propname = “NNOT_TIL_OPEN_TSI”;

my_otobj.addProp    (OT_PROP_TRANSPORT,propname,    ”TestQueue”);





Copyright © 2005. Sybase Inc. All rights reserved. begin()

View this book as PDF