closeMatcherEx() - trillium_quality - 17.1

Trillium Director SDK Reference Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Quality
Version
17.1
Language
English
Product name
Trillium Quality
Title
Trillium Director SDK Reference Guide
Topic type
Administration
Overview
How Do I
Configuration
Reference
Installation
First publish date
2008

The closeMatcherEX() method combines the closeMatcher() and release() methods into a single method.

Syntax

public void closeMatcherEx(int handle, int retCode[]);

Parameters

Name

Type

Use

Length

Description

handle

int

In

––

Handle to a Director matcher server instance.

retCode

int[ ]

Out

4

Error code that indicates status of method call.

Return Values

Refer to Return Values.

Example

TrilTGenClient testClient = new TrilTGenClient();
int[] retCode= new int[1];             // Return code and handle
int handle = 0;                 // System and Server ID for attach()
char systemID;
String serverName;
systemID = 'G';
serverName = "RMatcher";
handle = testClient.openMatcherEx(systemID, serverName, retCode);
// Matcher functional calls not shown
if (retCode[0] == 0) {
testClient.closeMatcherEx(handle, retCode);
// Close matcher server
}