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

#include <FXIPC.h>

Inheritance diagram for FX::FXIPCMsg_Disconnect:

FX::FXIPCMsg List of all members.

Detailed Description

Received when the other end of the IPC channel disconnects.

You should also trap FX::FXException_ConnectionLost for unexpected connection losses. Indeed you should probably call similar code in both circumstances.

Definition at line 377 of file FXIPC.h.

Public Types

typedef FXIPCMsgChunkCodeAlloc<
FXIPCMsgChunkStandardBegin::code,
false > 
id
typedef FXIPCMsgRegister<
id, FXIPCMsg_Disconnect
regtype
 FlagsWantAck
 FlagsGZipped
 FlagsHasRouting
 FlagsIsBigEndian
enum  Flags { FlagsWantAck, FlagsGZipped, FlagsHasRouting, FlagsIsBigEndian }

Public Member Functions

 FXIPCMsg_Disconnect ()
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)

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:32 2009 for TnFOX by doxygen v1.4.7