FX::FXIPCMsg_ErrorOccurred Struct Reference
[Inter Process Communication & Data Transport]

#include <FXIPC.h>

Inheritance diagram for FX::FXIPCMsg_ErrorOccurred:

FX::FXIPCMsg List of all members.

Detailed Description

Received when an exception was thrown by the other end of the IPC channel.

Normally speaking FX::FXIPCChannel silently throws a FX::FXException this end with the same contents as the remote exception. This behaviour can be disabled.

Definition at line 409 of file FXIPC.h.

Public Types

typedef FXIPCMsgChunkCodeAlloc<
FXIPCMsg_Unhandled::id::nextcode,
false > 
id
typedef FXIPCMsgRegister<
id, FXIPCMsg_ErrorOccurred
regtype
 FlagsWantAck
 FlagsGZipped
 FlagsHasRouting
 FlagsIsBigEndian
enum  Flags { FlagsWantAck, FlagsGZipped, FlagsHasRouting, FlagsIsBigEndian }

Public Member Functions

 FXIPCMsg_ErrorOccurred ()
 FXIPCMsg_ErrorOccurred (FXuint _id, FXException &e)
void endianise (FXStream &ds) const
void deendianise (FXStream &ds)
bool operator== (const FXIPCMsg &o) const throw ()
bool operator!= (const FXIPCMsg &o) const throw ()
int headerLength () const throw ()
FXuint length () const throw ()
FXuint msgType () const throw ()
bool hasAck () const throw ()
FXuint msgId () const throw ()
void setMsgId (FXuint id) throw ()
bool wantsAck () const throw ()
bool gzipped () const throw ()
void setGZipped (bool v) throw ()
bool hasRouting () const throw ()
FXuint routing () const throw ()
void setRouting (FXuint no) throw ()
bool inBigEndian () const throw ()
FXucharoriginalData () const throw ()
void write (FXStream &s) const
void read (FXStream &s)

Public Attributes

FXString message
FXuint code
FXuint flags

Static Public Attributes

static const FXuint minHeaderLength
static const FXuint maxHeaderLength

Friends

class FXIPCChannel
class FXIPCChannelIndirector


The documentation for this struct was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:34:33 2009 for TnFOX by doxygen v1.4.7