Namespace: OpenEdge.BusinessRules
Class 
RulesServerConnection
Parent classes:
Inherits: Progress.Lang.Object
Implements: OpenEdge.Core.ServerConnection.IServerConnection

Copyright (c) 2013 by Progress Software Corporation. All rights reserved.
File:RulesServerConnection
Purpose:OE Rules Server connection
Author(s):pjudge
Created:Tue Apr 09 14:20:45 EDT 2013
Notes:* This class is a wrapper around the actual Server Connection,
which happens to initially be one or 2 WebService Connections.
the interface, unless there are significant exceptions.




Method Summary
Options Name Purpose
# Connect ()
# CreateServer ()
# DestroyServer ()
# Disconnect ()
# LONGCHAR InvokeDecisionService (longchar) /** Invokes a decision service on the Rules Server @param longchar The message/payload to send @return longchar The results of the service call. */
# LOGICAL IsDecisionServiceAvailable (character) /** Returns true if any version of a specified Decision Service is deployed. @param character The decision service name. @return logical Whether the decision service is deployed of not. */
# LOGICAL IsDecisionServiceAvailable (character, datetime-tz) /** Returns true if any version of a specified Decision Service is deployed on a specified effective date. @param character The decision service name. @param datetime-tz The effective datetime stamp on which a decision service is deployed. @return logical Whether the decision service is deployed of not. */
# LOGICAL IsDecisionServiceAvailable (character, decimal) /** Returns true if a particular version of a specified Decision Service is deployed. @param character The decision service name. @param decimal The version to query. @return logical Whether the decision service is deployed of not. */
# CHARACTER ToString ()

Constructor Summary
Options Name Purpose
# RulesServerConnection (RulesServerConnectionParameters)

Property Summary
Options Name Purpose
# LOGICAL Connected /** Returns the result of the Decision Service server's Connected property */
# OpenEdge.Core.ServerConnection.IConnectionParameters ConnectionParameters /** Parameters for this connection */
# Progress.Lang.Object Server /** A reference to the server. Returns a reference to the Decision Service's Server object. */


Method Detail
Top

PROTECTED Connect ()

Top

PROTECTED CreateServer ()

Top

PROTECTED DestroyServer ()

Top

PROTECTED Disconnect ()

Top

PROTECTED LONGCHAR InvokeDecisionService (longchar)

Purpose: Invokes a decision service on the Rules Server
Parameters:
pcRequestDocument LONGCHAR
Returns LONGCHAR
longchar The results of the service call.
Top

PROTECTED LOGICAL IsDecisionServiceAvailable (character)

Purpose: Returns true if any version of a specified Decision Service is deployed.
Parameters:
pcServiceName CHARACTER
Returns LOGICAL
logical Whether the decision service is deployed of not.
Top

PROTECTED LOGICAL IsDecisionServiceAvailable (character, datetime-tz)

Purpose: Returns true if any version of a specified Decision Service is deployed
on a specified effective date.
is deployed.
Parameters:
pcServiceName CHARACTER
ptEffectiveOn DATETIME-TZ
Returns LOGICAL
logical Whether the decision service is deployed of not.
Top

PROTECTED LOGICAL IsDecisionServiceAvailable (character, decimal)

Purpose: Returns true if a particular version of a specified Decision Service is deployed.
Parameters:
pcServiceName CHARACTER
pdVersion DECIMAL
Returns LOGICAL
logical Whether the decision service is deployed of not.
Top

PROTECTED CHARACTER ToString ()

Returns CHARACTER


Constructor Detail
Top

PROTECTED RulesServerConnection (RulesServerConnectionParameters)

Parameters:
poConnectionParameters OpenEdge.BusinessRules.RulesServerConnectionParameters


Property Detail
Top

PROTECTED LOGICAL Connected

Purpose: Returns the result of the Decision Service server's Connected property
Returns LOGICAL
Top

PROTECTED OpenEdge.Core.ServerConnection.IConnectionParameters ConnectionParameters

Purpose: Parameters for this connection
Returns OpenEdge.Core.ServerConnection.IConnectionParameters
Top

PROTECTED Progress.Lang.Object Server

Purpose: A reference to the server. Returns a reference to the Decision Service's
Server object.
Returns Progress.Lang.Object


10.27.2015 12:36:15