GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
tt_message_fail(library call) tt_message_fail(library call)

tt_message_fail — indicate a message cannot be handled

#include &<Tt/tt_c.h>
Tt_status tt_message_fail(
Tt_message m);

The tt_message_fail function informs the ToolTalk service that the process cannot handle the request just received.

This function also informs the ToolTalk service that the message is not be offered to other processes of the same ptype. The ToolTalk service will send the message back to the sender with state TT_FAILED.

The m argument is the opaque handle for the message involved in this operation.

Upon successful completion, the tt_message_fail function returns the status of the operation as one of the following Tt_status values:

The operation completed successfully.
The ttsession(1) process is not running and the ToolTalk service cannot restart it.
This application is not the handler for this message.
The pointer passed does not point to an object of the correct type for this operation.

The status value must be greater than TT_ERR_LAST to avoid confusion with the ToolTalk service status values.

To distinguish this case from the case where a message failed because no matching handler could be found, the application should place an explanatory message code in the status attribute of the message with tt_message_status_set(3) and tt_message_status_string_set(3) before calling tt_message_fail.

Tt/tt_c.h - Tttt_c(5), tt_message_status_set(3), tt_message_status_string_set(3).


Search for    or go to Top of page |  Section l |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.