⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sam.constants.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Predefined Constants</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="sam.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="sam.examples.html">Examples</a></div> <div class="up"><a href="book.sam.html">SAM</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1>Predefined Constants</h1> <p class="simpara">The constants below are defined by this extension, andwill only be available when the extension has eitherbeen compiled into PHP or dynamically loaded at runtime.</p> <dl>  <dt>   <span class="term">    <b><tt>SAM_AUTO</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Automatic behaviour    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_BOOLEAN</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Type specifier used when setting properties on SAM_Message objects.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_BUS</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect attribute used to set the name of the enterprise service bus to     connect to.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_BYTE</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Type specifier used when setting properties on SAM_Message objects.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_BYTES</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Message body type descriptor.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_CORRELID</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Attribute used on receive, send and remove requests to identify specific     messages.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_DELIVERYMODE</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Message header property.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_DOUBLE</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Type specifier used when setting properties on SAM_Message objects.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_ENDPOINTS</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect attribute used to define the possible endpoints to connect to.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_FLOAT</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Type specifier used when setting properties on SAM_Message objects.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_HOST</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect attribute used to set the hostname of the required messaging     server.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_INT</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Type specifier used when setting properties on SAM_Message objects.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_LONG</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Type specifier used when setting properties on SAM_Message objects.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_MANUAL</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Manual (script controlled) behaviour    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_MESSAGEID</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Attribute used on receive and remove requests to identify specific     messages.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_MQTT</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect protocol definition for selecting the MQTT (MQ Telemetry Transport) protocol.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_MQTT_CLEANSTART</tt></b>     (<a href="language.types.boolean.html" class="type bool">bool</a>)   </span>   <dd>    <span class="simpara">     Optional connect option to indicate to an MQTT server that all previous connection data     for this client should be removed and that subscriptions should be deleted when the client     disconnects explicitly or unexpectedly.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_NON_PERSISTENT</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect attribute value used to request messages are not made persistent     on the messaging server.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_PASSWORD</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect attribute used to define the password to be used for the user     account being used to connect to a messaging server that requires     authorisation for connections.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_PERSISTENT</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect attribute value used to request messages are made persistent     on the messaging server to protect against loss of messages in the     event of failure.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_PORT</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect attribute used to set the port number on which to communicate     with the messaging server.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_PRIORITY</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Option name used on send requests to specify a delivery priority value.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_REPLY_TO</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Message propery used to specify the queue identity on to which the      script expects response or reply messages to be posted.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_RTT</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect protocol definition for selecting the IBM Realtime Transport     protocol for communication with a business integration messaging server.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_STRING</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Type specifier used when setting properties on SAM_Message objects.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_TARGETCHAIN</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connection attribute used to set the required target chain identifier.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_TEXT</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Message body type descriptor.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_TIMETOLIVE</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Message send option name used to specify the length of time a message     should be retained in milliseconds.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_TRANSACTIONS</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connection attribute used to set required transactional behaviour. May     be set to SAM_AUTO (default) or SAM_MANUAL.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_USERID</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect attribute used to define the account to being used to     connect to a messaging server that requires authorisation for connections.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_WAIT</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Receive property used to specify the wait timeout to be used when     receiving a message from a queue or subscription.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_WMQ</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect protocol definition for selecting the IBM WebSphere MQSeries     protocol for communication with the desired messaging server.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_WMQ_BINDINGS</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect protocol definition for selecting the IBM WebSphere MQSeries     protocol for communication with a local messaging server.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_WMQ_CLIENT</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect protocol definition for selecting the IBM WebSphere MQSeries     protocol for communication with a remote messaging server.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_WMQ_TARGET_CLIENT</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Option name used on send requests to specify the target client mode.      This can either be default to &#039;jms&#039; or &#039;mq&#039;. The default is &#039;jms&#039; which     means an RFH2 header is sent with the message whereas the &#039;mq&#039; setting     means no RFH2 is included.    </span>   </dd>  </dt>  <dt>   <span class="term">    <b><tt>SAM_WPM</tt></b>     (<a href="language.types.string.html" class="type string">string</a>)   </span>   <dd>    <span class="simpara">     Connect protocol definition for selecting the IBM WebSphere Platform     Messaging protocol for communication with a WebSphere Application Server     messaging server.    </span>   </dd>  </dt> </dl></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="sam.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="sam.examples.html">Examples</a></div> <div class="up"><a href="book.sam.html">SAM</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -