This chapter contains reference information for the following obsolete services for message broadcasting:
Note:
This service is obsolete. Use SBS_SEQUENCE_GAP instead.
Applications can register to receive notification of sequence gaps in broadcast messages when sending the SBS_REG message to the SBS Server. The registered application receives an SBS_BS_SEQGAP message when there is a gap in sequence of broadcast messages. Sequence gaps can occur when the sender program is broadcasting at a higher rate than the receiver program can handle.
Target
Requesting program
Requesting program
Source
SBS_SERVER
PAMS_SBS_SERVER
Class
PAMS
MSG_CLAS_PAMS
Type
SBS_BS_SEQGAP
MSG_TYPE_SBS_BS_SEQGAP
SBS_BS_SEQGAP
C Message Structure
typedef struct _SBS_BS_SEQGAP {
int32 num_msgs_missing;
uint16 sender_group;
uint16 mot;
uint16 channel;
} SBS_BS_SEQGAP; Message Data Fields
Arguments
Argument
Script Format
pams_get_msg Format
See Also
Note:
This service is obsolete. Use SBS_DEREGISTER_REQ instead.
Applications can register to receive broadcast messages by sending an SBS_REG message or an SBS_REG_EZ message to the SBS Server. When an application no longer needs to receive messages from a broadcast stream, it sends an SBS_DEREG message to the SBS Server. This message causes the SBS Server to deregister all entries for the broadcast stream and receiving queue combination.
Target
SBS_SERVER
PAMS_SBS_SERVER
Source
Requesting program
Requesting program
Class
PAMS
MSG_CLAS_PAMS
Type
SBS_DEREG
MSG_TYPE_SBS_DEREG
SBS_DEREG
C Message Structure
typedef struct _SBS_DEREG {
int16 version;
uint16 mot;
q_address distribution_q;
char req_ack;
} SBS_DEREG; Message Data Fields
Arguments
Argument
Script Format
pams_get_msg Format
See Also
Note:
This service is obsolete. Use SBS_DEREGISTER_RESP instead.
Applications can register to receive broadcast messages by sending an SBS_REG message or an SBS_REG_EZ message to the SBS Server. When an application no longer needs to receive messages from a broadcast stream, it sends an SBS_DEREG message to the SBS Server. This message causes the SBS Server to deregister all entries for the broadcast stream and receiving queue combination. The SBS_DEREG_ACK message acknowledges deregistration for the broadcast stream and receiver queue selected.
Target
Requesting program
Requesting program
Source
SBS_SERVER
PAMS_SBS_SERVER
Class
PAMS
MSG_CLAS_PAMS
Type
SBS_DEREG_ACK
MSG_TYPE_SBS_DEREG_ACK
SBS_DEREG_ACK
C Message Structure
typedef struct _SBS_DEREG_ACK {
int16 status;
int16 number_reg;
} SBS_DEREG_ACK; Message Data Fields
Arguments
Argument
Script Format
pams_get_msg Format
See Also
Note:
This service is obsolete. Use SBS_DEREGISTER_REQ instead.
Applications can register to receive broadcast messages by sending an SBS_REG message or an SBS_REG_EZ message to the SBS Server. When an application has multiple registrations for a broadcast stream and no longer needs to receive one type of message, the application can send an SBS_DEREG_BY_ID message to the SBS Server by providing the ID returned by MessageQ during the initial broadcast registration. The queue will continue to receive broadcast messages requested through separate registrations.
version
word
DW
Message format version. Must be 20.
reg_id
unsigned word
DW
Registration ID.
req_ack
Boolean
DB
Value of 1 if ACK requested.
Target
SBS_SERVER
PAMS_SBS_SERVER
Source
Requesting program
Requesting program
Class
PAMS
MSG_CLAS_PAMS
Type
SBS_DEREG_BY_ID
MSG_TYPE_SBS_DEREG_BY_ID
SBS_DEREG_BY_ID
C Message Structure
typedef struct _SBS_DEREG_BY_ID {
short version;
unsigned short reg_id;
char req_ack;
} SBS_DEREG_BY_ID; Message Data Fields
Field
Data Type
Script Format
Description
Arguments
Argument
Script Format
pams_get_msg Format
See Also
Note:
This service is obsolete. Use SBS_REGISTER_REQ instead.
Applications can register to receive selected messages from a broadcast stream by sending an SBS_REG message to the SBS Server. This message requests a target queue to receive all messages that meet the selection criteria entered as part of the registration process. Selection rules define a relational operation to be applied against a message header or message data field. Each broadcast message that matches the rule is distributed to the target queue.
Target
SBS_SERVER
PAMS_SBS_SERVER
Source
Requesting program
Requesting program
Class
PAMS
MSG_CLAS_PAMS
Type
SBS_REG
MSG_TYPE_SBS_REG
SBS_REG
C Message Structure
typedef struct _SBS_REG {
int16 version;
uint16 mot;
q_address distribution_q;
int16 offset;
char data_operator;
int16 length;
uint32 operand;
char req_ack;
char req_seqgap;
char req_autodereg;
} SBS_REG; Message Data Fields
Arguments
Argument
Script Format
pams_get_msg Format
See Also
Note:
This service is obsolete. Use SBS_REGISTER_REQ instead.
Applications can register to receive all messages from a broadcast stream by sending an SBS_REG_EZ message to the SBS Server. This message requests a target queue to receive all messages sent to the selected broadcast stream.
Target
SBS_SERVER
PAMS_SBS_SERVER
Source
Requesting program
Requesting program
Class
PAMS
MSG_CLAS_PAMS
Type
SBS_REG_EZ
MSG_TYPE_SBS_REG_EZ
SBS_REG_EZ
C Message Structure
typedef struct _SBS_REG_EZ {
int16 version;
int16 mot;
q_address distribution_q;
} SBS_REG_EZ; Message Data Fields
Arguments
Argument
Script Format
pams_get_msg Format
See Also
Note:
This service is obsolete. Use SBS_REGISTER_RESP instead.
Applications can register to receive all messages from a broadcast stream by sending an SBS_REG_EZ message to the SBS Server. This message requests that all messages sent to a broadcast stream be distributed to a particular target queue. The SBS_REG_EZ_REPLY message indicates the status of the request and returns a registration ID if the application is successfully registered.
Target
Requesting program
Requesting program
Source
SBS_SERVER
PAMS_SBS_SERVER
Class
PAMS
MSG_CLAS_PAMS
Type
SBS_REG_EZ_REPLY
MSG_TYPE_SBS_REG_EZ_REPLY
SBS_REG_EZ_REPLY
C Message Structure
typedef struct _SBS_REG_EZ_REPLY {
int16 status;
uint16 reg_id;
int16 number_reg;
} SBS_REG_EZ_REPLY; Message Data Fields
Arguments
Argument
Script Format
pams_get_msg Format
See Also
Note:
This service is obsolete. Use SBS_REGISTER_RESP instead.
Applications can register to receive selected messages from a broadcast stream by sending an SBS_REG message to the SBS Server. This message requests a target queue to receive all messages sent to a particular broadcast stream that meet selection criteria. The SBS_REG_REPLY message indicates the status of the request and returns a registration ID.
Target
Requesting program
Requesting program
Source
SBS_SERVER
PAMS_SBS_SERVER
Class
PAMS
MSG_CLAS_PAMS
Type
SBS_REG_REPLY
MSG_TYPE_SBS_REG_REPLY
SBS_REG_REPLY
C Message Structure
typedef struct _SBS_REG_REPLY {
int16 status;
uint16 reg_id;
int16 number_reg;
} SBS_REG_REPLY; Message Data Fields
Arguments
Argument
Script Format
pams_get_msg Format
See Also