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


Manual Reference Pages  -  EZ_SETDEFAULTMESSAGEHANDLER (3)

NAME

EZ_SetDefaultMessageHandler - register the default message handler

CONTENTS

Synopsis
Arguments
Description

SYNOPSIS


#include <EZ.h> 

typedef struct { Atom messageType; /* message type */ int messageLength; /* message length */ char *message; /* the message */ int messageId; /* message Id */ int replyId; /* if request, the message id to reply */ int isReply; /* flag whether the message is a reply */ Window sender; /* sender’s communication window id */ Atom senderClass; /* sender’s class name */ Atom senderInstance; /* sender’s instance name */ int senderIsSelf; /* is message originated from the myself? */ } EZ_Message;

typedef void (*EZ_MessageHandler)(EZ_Message *msgIn, void *client_data);

void EZ_SetDefaultMessageHandler(EZ_MessageHandler handler, void *clientData)

ARGUMENTS

handler Specifies a message handler.

client_data Specifies an application data to be passed to the handler.

DESCRIPTION

This function sets the default message handler for an application. All messages received with no handlers will be handled by this default message handler.

SEE ALSO

EZ_AddMessageHandler(3), EZ_BroadcastMessage(3), EZ_ReplyMessage(3)

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


EZWGL EZ_SETDEFAULTMESSAGEHANDLER (3)

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