From df8b0261069b5f8a452fcf51eb9596ac7b66bf71 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 15 Aug 2007 13:21:22 +0000 Subject: [PATCH] Clarify role of SCAN callback's $status --- SimpleServer.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/SimpleServer.pm b/SimpleServer.pm index 6ab4042..f6a4c39 100644 --- a/SimpleServer.pm +++ b/SimpleServer.pm @@ -25,7 +25,7 @@ ## ## -## $Id: SimpleServer.pm,v 1.34 2007-08-15 13:14:29 mike Exp $ +## $Id: SimpleServer.pm,v 1.35 2007-08-15 13:21:22 mike Exp $ package Net::Z3950::SimpleServer; @@ -633,10 +633,11 @@ should point at a data structure of this kind, ... ]; -The $status flag should be assigned one of two values: +The $status flag is only meaningful after a successful scan, and +should be assigned one of two values: - Net::Z3950::SimpleServer::ScanSuccess On success (default) - Net::Z3950::SimpleServer::ScanPartial Less terms returned than requested + Net::Z3950::SimpleServer::ScanSuccess Full success (default) + Net::Z3950::SimpleServer::ScanPartial Fewer terms returned than requested The STEP member contains the requested number of entries in the term-list between two adjacent entries in the response. -- 1.7.10.4