AuErrorEvent (3)
Leading comments
$NCDId: @(#)AuErEvnt.man,v 1.1 1994/09/27 00:26:23 greg Exp $ copyright 1994 Steven King portions are * Copyright 1993 Network Computing Devices, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name Network Computing...
Name
AuErrorEvent - error event structureStructures
#include <audio/audiolib.h>
typedef union _AuEvent
{
. . .
AuErrorEvent auerror;
. . .
}AuEvent;
typedef struct _AuErrorEvent
{
int type;
AuUint32 serial;
AuBool send_event;
AuServer *server;
AuTime time;
AuID resourceid;
unsigned char error_code;
unsigned char request_code;
unsigned char minor_code;
union
{
AuUint32 l[4];
}data;
}AuErrorEvent;
Members
- type
- The event type. Error events are type 0.
- serial
- The serial number of the failed request.
- send_event
- AuTrue if the event came from a SendEvent protocol request.
- server
- The connection to the audio server that the event was read from.
- time
- The server time in milliseconds when the event was generated.
- resourceid
- The resource ID or other value of the failed request.
- error_code
- The error code of the failed request.
- request_code
- The protocol major request code of the failed request.
- minor_code
- The protocol minor request code of the failed request.
- data
- Never used?
Description
Error events are sent to clients to alert them of non-fatal errors encountered while processing requests.See Also
AuAnyEvent, AuElementNotifyEvent, AuGrabNotifyEvent, AuMonitorNotifyEvent.audiolib - Network Audio System C Language Interface