ASPEN_UndefineServerNotice

 

Related Topics

 

 

Purpose

Inform the application that a previously defined Server is no longer available.

 

 

Notice

For this event notice, the notice parameter of the AspenEvent() function receives a pointer to an ASPEN_UNDEFINE_SERVER_NOTICE structure.

 

This structure is dynamically allocated by Aspen and must be freed using the AspenFreeMemory() function after use.

 

 

Structure

typedef struct

{

   ASPEN_ADDRESS address;

   char server_name[ASPEN_MAX_SERVER_NAME];

}ASPEN_UNDEFINE_SERVER_NOTICE;

 

 

Remarks

When the Aspen Library becomes aware that a previously known Server has become unavailable it reports an ASPEN_UndefineServerNotice event to the application.

 

Note that there is no direct connection between the reporting of an ASPEN_UndefineServerNotice event and an ASPEN_SessionFailureNotice event. If an application had an open session with a Server which becomes undefined, the session will be closed in due time. However, due to the large number of ways in which a Server may become unavailable or a session may fail, there is no predicting in what order these events may occur.

 

 

See Also

AspenEvent()

ASPEN_DefineServerNotice

ASPEN_UNDEFINE_SERVER_NOTICE

ASPEN_SessionFailureNotice

ASPEN_ADDRESS

AspenFreeMemory()

Events

 

 

Example

NA

 

©2006 Aspen Research Group, Ltd. All rights reserved. Terms of Use.