VR-Link API Documentation for HLA 1516
Public Member Functions | Protected Member Functions | Protected Attributes
+ Inheritance diagram for DtGroupSocket:
+ Collaboration diagram for DtGroupSocket:

List of all members.

Public Member Functions

 DtGroupSocket (int port=DtDEFAULT_PORT, DtU8 flags=DtReadWrite, DtIpv4Addr devAddr=0)
 Constructor - uses default address for listening.
 DtGroupSocket (int port, DtIpv4Addr addr, DtU8 flags, DtIpv4Addr devAddr=0)
 Constructor - uses addr for listening.
virtual ~DtGroupSocket ()
 Destructor.
virtual void removeAllRemoteSites ()
 Clear the list of remote sites.
virtual int DtSend (caddr_t pkt, size_t size, DtIpv4Addr addr)
 Virtual function override - send to all remote sites.
virtual void addRemoteSite (DtIpv4Addr addr)
 Add/remove a remote site to send to.
virtual void removeRemoteSite (DtIpv4Addr addr)
virtual int sendToAllRemoteSites (caddr_t pkt, size_t size, DtIpv4Addr dwSkipAddr=0)
 Send to all remote sites except dwSkipAddr.
virtual const DtListremoteSitesList () const
 Return the remote sites list.

Protected Member Functions

DtListItemfindItem (DtIpv4Addr addr) const
 DtGroupSocket (const DtGroupSocket &)
 Copy CTOR Not implemented.
DtGroupSocketoperator= (const DtGroupSocket &)
 Assignment operator not implemented.

Protected Attributes

DtList myRemoteSites
 DtList of DtInetAddrs (which do not need to be deleted).

Detailed Description

Deprecated:
This class has been replaced by DtInetSocketMgr as of VR-Link 3.13

Constructor & Destructor Documentation

DtGroupSocket::DtGroupSocket ( int  port = DtDEFAULT_PORT,
DtU8  flags = DtReadWrite,
DtIpv4Addr  devAddr = 0 
)

Constructor - uses default address for listening.

Will not send to any addresses until addRemoteSite is called.

DtGroupSocket::DtGroupSocket ( int  port,
DtIpv4Addr  addr,
DtU8  flags,
DtIpv4Addr  devAddr = 0 
)

Constructor - uses addr for listening.

Will not send to any addresses until addRemoteSite is called.

virtual DtGroupSocket::~DtGroupSocket ( ) [virtual]

Destructor.

DtGroupSocket::DtGroupSocket ( const DtGroupSocket ) [protected]

Copy CTOR Not implemented.


Member Function Documentation

virtual void DtGroupSocket::addRemoteSite ( DtIpv4Addr  addr) [virtual]

Add/remove a remote site to send to.

virtual int DtGroupSocket::DtSend ( caddr_t  pkt,
size_t  size,
DtIpv4Addr  addr 
) [virtual]

Virtual function override - send to all remote sites.

Reimplemented from DtSocket.

DtListItem* DtGroupSocket::findItem ( DtIpv4Addr  addr) const [protected]
DtGroupSocket& DtGroupSocket::operator= ( const DtGroupSocket ) [protected]

Assignment operator not implemented.

const DtList * DtGroupSocket::remoteSitesList ( ) const [inline, virtual]

Return the remote sites list.

virtual void DtGroupSocket::removeAllRemoteSites ( ) [virtual]

Clear the list of remote sites.

virtual void DtGroupSocket::removeRemoteSite ( DtIpv4Addr  addr) [virtual]
virtual int DtGroupSocket::sendToAllRemoteSites ( caddr_t  pkt,
size_t  size,
DtIpv4Addr  dwSkipAddr = 0 
) [virtual]

Send to all remote sites except dwSkipAddr.


Member Data Documentation

DtList of DtInetAddrs (which do not need to be deleted).


The documentation for this class was generated from the following file:

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)