MAK RTIspy API Documentation for HLA 1516
deleteSocketMsg.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1998 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: deleteSocketMsg.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 // DtNotifyDisconnect DtDisconnectNotification
00013 
00014 #ifndef DtDeleteSocketMsg_H_
00015 #define DtDeleteSocketMsg_H_
00016 
00017 #include "connectMsg.h"
00018 
00019 class DtConnectionMgr;
00020 class DtDeleteSocketMsg;
00021 typedef void (*DtDeleteSocketCb)(const DtDeleteSocketMsg& inter, void* usr);
00022 
00023 class DT_DLL_LRC DtDeleteSocketMsg : public DtConnectMsg
00024 {
00025 public:
00026 
00028    DtDeleteSocketMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00029 
00031    DtDeleteSocketMsg(const DtNetConnectMsg* netRep,
00032       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00033 
00035    DtDeleteSocketMsg(unsigned long handle,
00036       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00037 
00039    virtual ~DtDeleteSocketMsg();
00040 
00042    virtual DtRtiMsg* clone(bool copy = true) const; 
00043 
00044 public:
00045 
00047    static DtRtiMsg* create(const DtNetMsgHeader* initial,
00048       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00049 
00050    static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00051 
00053    static void addCallback(DtConnectionMgr* conn,
00054       DtDeleteSocketCb cb, void* usr, bool isMomCallback=false);
00055    static void removeCallback(DtConnectionMgr* conn,
00056       DtDeleteSocketCb cb, void* usr, bool isMomCallback=false);
00057 
00058 protected:
00059 
00061    virtual DtRtiMsgKind internalDtRtiMsgKind();
00062 
00063 protected:
00064 
00065 };
00066 
00067 #endif
00068 

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)