Open System Services System Calls Reference Manual (G06.25+, H06.03+)
System Functions (s and S) SPT_SERVERCLASS_DIALOG_BEGIN_(3)
NAME
SPT_SERVERCLASS_DIALOG_BEGIN_
- Initiates the dialog and also sends the first mes-
sage of the dialog to the server instance in the Pathway serverclass
LIBRARY
G-series native OSS processes: /G/system/sysnn/zsptsrl
H-series OSS processes: /G/system/zdllnnn/zsptdll
SYNOPSIS
#include <spthread.h>
signed16 SPT_SERVERCLASS_DIALOG_BEGIN_(
signed32 *dialogId,
char * pathmon_process_name
,
signed16 pathmon_process_name_len
,
char * server_class_name,
signed16 server_class_name_len
,
void * message_buffer,
signed16 request_len,
signed16 maximum_reply_len,
[signed16 *actual_reply_len,]
[signed32 timeout,]
[unsigned16 flags,]
[signed16 *sc_send_opnum,]
[signed32 tag]
);
PARAMETERS
Input
pathmon_process_name
Contains the external process name of the PATHMON process controlling the
server class (for example, $PM or \AB.$PM).
pathmon_process_name_len
Contains the character length of pathmon_process_name.
server_class_name
Contains the name of the server class to send to.
server_class_name_len
Contains the character length of server_class_name.
message_buffer
Contains the message to send to the server class.
request_len Contains the byte length of the data contained in message_buffer.
maximum_reply_len
Contains the maximum number of bytes that are expected in the reply message
from the server class.
timeout (Optional) Contains the maximum amount of time, in hundredths of a second,
that LINKMON waits for the completion of this send. This value must be either
-1 or greater than 0 (zero). The default value is -1 (wait indefinitely).
If the begin is still in progess when this timeout expires, then the begin is can-
celed. An error value of 233 (FEScError) is returned;
SPT_SERVERCLASS_SEND_INFO_() reports Pathsend error 918 (FEScSen-
dOperationAborted) and Guardian file-system error 40.
527186-003 Hewlett-Packard Company 7−187