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


Copyright (c) 2013-2021 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
  OpenEdge.Core.ServerConnection.IConnectionParameters ConnectionParameters
  Progress.Lang.Object Server


Method Detail
Top

Connect ()

Top

CreateServer ()

Top

DestroyServer ()

Top

Disconnect ()

Top

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

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

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

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

CHARACTER ToString ()

Returns CHARACTER
 


Constructor Detail
Top

RulesServerConnection (RulesServerConnectionParameters)

Parameters:
poConnectionParameters OpenEdge.BusinessRules.RulesServerConnectionParameters
 


Property Detail
Top

LOGICAL Connected

Returns LOGICAL
 
Top

OpenEdge.Core.ServerConnection.IConnectionParameters ConnectionParameters

Returns OpenEdge.Core.ServerConnection.IConnectionParameters
 
Top

Progress.Lang.Object Server

Returns Progress.Lang.Object