<?xml version="1.0" encoding="Windows-1255" ?><Class name="BaseChannel" id="core.env:BaseChannel" sort="21" urn="core.env:classes.BaseChannel.gs" toc="\Classes"><Summary>A channel represents a connection to a remote server.
   The BaseChannel is the abstract base class from which all channel classes are derived.</Summary><Remarks>Instances of this class are created automatically by the system, and should
      not be created directly.</Remarks><Copyright>(c) SAP AG 2003-2006. All rights reserved.</Copyright>
<Topics>
<Constructor sortGroup="true" scope="public" name="Constructor" id="core.env:BaseChannel!Constructor" sort="31" group="Constructor" seq="0000"><Summary>Constructs and initializes an BaseChannel object.</Summary><Parameters signature="constructor:: new &lt;b&gt;BaseChannel&lt;/b&gt;(&lt;i&gt;id&lt;/i&gt;) &amp;rarr; BaseChannel"><Param name="id" type="String">The unique channel identifier.</Param></Parameters></Constructor>
<Property name="domain" access="RO" type="String" default="''" sortGroup="true" scope="public" id="core.env:BaseChannel!domain" sort="34" group="Properties" seq="0001"><Summary>Gets the channel's domain.</Summary></Property>
<Property name="error" access="RO" type="String" default="''" sortGroup="true" scope="public" id="core.env:BaseChannel!error" sort="34" group="Properties" seq="0002"><Summary>Gets the error encountered during the last operation on this channel, if any.</Summary></Property>
<Property name="id" access="RO" type="String" default="''" sortGroup="true" scope="public" id="core.env:BaseChannel!id" sort="34" group="Properties" seq="0003"><Summary>Gets the channel's identifier.</Summary></Property>
<Property name="online" access="RO" type="Boolean" default="false" sortGroup="true" scope="public" id="core.env:BaseChannel!online" sort="34" group="Properties" seq="0004"><Summary>Indicates whether the channel is currently online (connected to a remote server).</Summary></Property>
<Property name="protocol" access="RO" type="String" default="''" sortGroup="true" scope="public" id="core.env:BaseChannel!protocol" sort="34" group="Properties" seq="0005"><Summary>Gets the channel's communication protocol.</Summary></Property>
<Property name="serverName" access="RO" type="String" default="''" sortGroup="true" scope="public" id="core.env:BaseChannel!serverName" sort="34" group="Properties" seq="0006"><Summary>Gets the friendly display name for the channel's server.</Summary></Property>
<Property name="serverUrl" access="RO" type="String" default="''" sortGroup="true" scope="public" id="core.env:BaseChannel!serverUrl" sort="34" group="Properties" seq="0007"><Summary>Gets the channel's server address.</Summary></Property>
<Property name="serverVer" access="RO" type="String" default="''" sortGroup="true" scope="public" id="core.env:BaseChannel!serverVer" sort="34" group="Properties" seq="0008"><Summary>Gets the channel's server version.</Summary></Property>
<Property name="since" access="RO" type="Date" sortGroup="true" scope="public" id="core.env:BaseChannel!since" sort="34" group="Properties" seq="0009"><Summary>Gets the connection start time.</Summary></Property>
<Method name="connect" sortGroup="true" scope="public" id="core.env:BaseChannel!connect" sort="35" group="Methods" seq="0010"><Summary>Connects the channel to the server.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;connect&lt;/b&gt;() &amp;rarr; Boolean"></Parameters><Return type="Boolean">Returns &lt;code&gt;true&lt;/code&gt; if the channel was successfully connected; otherwise, returns &lt;code&gt;false&lt;/code&gt;</Return></Method>
<Method name="disconnect" sortGroup="true" scope="public" id="core.env:BaseChannel!disconnect" sort="35" group="Methods" seq="0011"><Summary>Disconnects the channel.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;disconnect&lt;/b&gt;() &amp;rarr; Boolean"></Parameters><Return type="Boolean">Returns &lt;code&gt;true&lt;/code&gt; if the channel was successfully disconnected; otherwise, returns &lt;code&gt;false&lt;/code&gt;</Return></Method>
<Method name="execute" sortGroup="true" scope="public" id="core.env:BaseChannel!execute" sort="35" group="Methods" seq="0012"><Summary>Executes a specified function in the specified service. The result XML is returned raw (See &lt;q ref=&quot;core.env:BaseChannel!executeService&quot;&gt;executeService&lt;/q&gt;).</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;execute&lt;/b&gt;(&lt;i&gt;servicename&lt;/i&gt;, &lt;i&gt;operation&lt;/i&gt;, &lt;i&gt;params&lt;/i&gt;, &lt;i&gt;returnResult&lt;/i&gt;) &amp;rarr; XmlDocument"><Param name="servicename" type="String">Service name.</Param><Param name="operation" type="String">Name of the service function to execute.</Param><Param name="params" default="" type="String[]">Array of function parameters.</Param><Param name="returnResult" default="false" type="Boolean">Indicates whether to return the result of the service execution.</Param></Parameters><Return type="XmlDocument">XML document containing the results, or null in case of errors. This will be returned in case that the returnResult parameter is true.</Return></Method>
<Method name="executeService" sortGroup="true" scope="public" id="core.env:BaseChannel!executeService" sort="35" group="Methods" seq="0013"><Summary>Executes a specified function in the specified service and returns the execution results. This method
   reconstructs the result into an object.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;executeService&lt;/b&gt;(&lt;i&gt;servicename&lt;/i&gt;, &lt;i&gt;operation&lt;/i&gt;, &lt;i&gt;params&lt;/i&gt;, &lt;i&gt;onsuccess&lt;/i&gt;, &lt;i&gt;onerror&lt;/i&gt;) &amp;rarr; XmlDocument"><Param name="servicename" type="String">Service name.</Param><Param name="operation" type="String">Name of the service function to execute.</Param><Param name="params" default="" type="String[]">Array of function parameters.</Param><Param name="onsuccess" default="" type="Function">Callback function to invoke upon successfull completion of the service execution.</Param><Param name="onerror" default="" type="Function">Callback function to invoke when an error is encountered.</Param></Parameters><Return type="XmlDocument">XML document containing the results, or null in case of errors.</Return></Method>
<Method name="isConnected" sortGroup="true" scope="public" id="core.env:BaseChannel!isConnected" sort="35" group="Methods" seq="0014"><Summary>Checks whether the channel is already connected.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;isConnected&lt;/b&gt;() &amp;rarr; Boolean"></Parameters><Return type="Boolean">The test results.</Return></Method>
<Method name="notifyConnection" sortGroup="true" scope="public" id="core.env:BaseChannel!notifyConnection" sort="35" group="Methods" seq="0015"><Summary>Notifies about a change in the channel connection status.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;notifyConnection&lt;/b&gt;(&lt;i&gt;status&lt;/i&gt;) &amp;rarr; void"><Param name="status" type="Boolean">The new channel connection status.</Param></Parameters><Return></Return></Method>
<Method name="toString" sortGroup="true" scope="public" id="core.env:BaseChannel!toString" sort="35" group="Methods" seq="0016"><Summary>Returns a string representation of this channel.</Summary><Parameters signature="method:: &lt;i&gt;this&lt;/i&gt;.&lt;b&gt;toString&lt;/b&gt;() &amp;rarr; String"></Parameters><Return type="String">The string representation of this channel.</Return></Method>
</Topics>
</Class>