MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
deleteSocketMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: deleteSocketMsg.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 // DtNotifyDisconnect DtDisconnectNotification
13 
14 #ifndef DtDeleteSocketMsg_H_
15 #define DtDeleteSocketMsg_H_
16 
17 #include "connectMsg.h"
18 
19 class DtConnectionMgr;
20 class DtDeleteSocketMsg;
21 typedef void (*DtDeleteSocketCb)(const DtDeleteSocketMsg& inter, void* usr);
22 
24 {
25 public:
26 
28  DtDeleteSocketMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
29 
31  DtDeleteSocketMsg(const DtNetConnectMsg* netRep,
32  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
33 
35  DtDeleteSocketMsg(unsigned long handle,
36  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
37 
39  virtual ~DtDeleteSocketMsg();
40 
42  virtual DtRtiMsg* clone(bool copy = true) const;
43 
44 public:
45 
47  static DtRtiMsg* create(const DtNetMsgHeader* initial,
48  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
49 
50  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
51 
53  static void addCallback(DtConnectionMgr* conn,
54  DtDeleteSocketCb cb, void* usr, bool isMomCallback=false);
55  static void removeCallback(DtConnectionMgr* conn,
56  DtDeleteSocketCb cb, void* usr, bool isMomCallback=false);
57 
58 protected:
59 
62 
63 protected:
64 
65 };
66 
67 #endif
68 
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Definition: netRtiMsgHdr.h:23
static void removeCallback(DtConnectionMgr *conn, DtConnectCb cb, void *usr, bool isMomCallback=false)
static DtRtiMsg * create(const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
Creator.
virtual DtRtiMsgKind internalDtRtiMsgKind()
Returns the kind of an Connect Msg.
Definition: netConnectMsg.h:15
Definition: deleteSocketMsg.h:23
void(* DtDeleteSocketCb)(const DtDeleteSocketMsg &inter, void *usr)
Definition: deleteSocketMsg.h:21
static void addCallback(DtConnectionMgr *conn, DtConnectCb cb, void *usr, bool isMomCallback=false)
Callback management.
Instances of DtConnectionMgr manage the communication objects that the RTI will use to either communi...
Definition: connectMgr.h:67
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:34
Definition: connectMsg.h:22
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
virtual DtRtiMsg * clone(bool copy=true) const
Return a copy/empty object of the same type as this.

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)