|
WSF
|
A specialization of WsfDisDevice to support IP-based UDP I/O. More...
#include <WsfDisUDP_Device.hpp>


Public Member Functions | |
| WsfDisUDP_Device (WsfDisInterface *aInterfacePtr, const std::string &aSendAddress, unsigned int aPort, unsigned int aRcvPort, bool aRememberSenderHostname=false) | |
| Create a device for performing network I/O using UDP broadcast. | |
| WsfDisUDP_Device (WsfDisInterface *aInterfacePtr, const std::string &aMulticastAddress, const std::string &aInterfaceAddress, unsigned int aPort, unsigned int aRcvPort, int aTimeToLive=-1, bool aRememberSenderHostname=false) | |
| Create a device for performing network I/O using UDP multicast. | |
| ~WsfDisUDP_Device () override | |
| DisPdu * | GetPdu (DisPduFactory *aPduFactoryPtr) override |
| void | PutPduP (double aSimTime, DisPdu &aPdu) override |
| GenUDP_IO * | GenUDP_IOPtr () override |
| Public Member Functions inherited from WsfDisDevice | |
| WsfDisDevice (WsfDisInterface *aInterfacePtr) | |
| virtual | ~WsfDisDevice () |
| void | PutPdu (double aSimTime, DisPdu &aPdu) |
| DeviceType | GetDeviceType () const |
| void | AddFilterAllowance (WsfDisFilterAllowance *anAllowance) |
Additional Inherited Members | |
| Public Types inherited from WsfDisDevice | |
| enum | DeviceType { cDEVICE_NONE , cDEVICE_RECORD , cDEVICE_PLAYBACK , cDEVICE_MULTICAST , cDEVICE_BROADCAST , cDEVICE_UNICAST , cDEVICE_CEE } |
| Protected Member Functions inherited from WsfDisDevice | |
| bool | AllowedThroughFilter (DisPdu &aPdu) |
| Protected Attributes inherited from WsfDisDevice | |
| DeviceType | mDeviceType |
| std::vector< WsfDisFilterAllowance * > | mFilterAllowances |
| WsfDisInterface * | mInterfacePtr |
A specialization of WsfDisDevice to support IP-based UDP I/O.
The current implementation only supports UDP broadcast and multicast.
| WsfDisUDP_Device::WsfDisUDP_Device | ( | WsfDisInterface * | aInterfacePtr, |
| const std::string & | aSendAddress, | ||
| unsigned int | aPort, | ||
| unsigned int | aRcvPort, | ||
| bool | aRememberSenderHostname = false ) |
Create a device for performing network I/O using UDP broadcast.
References WsfDisDevice::cDEVICE_BROADCAST, WsfDisDevice::cDEVICE_UNICAST, WsfDisDevice::mDeviceType, and WsfDisDevice::WsfDisDevice().
| WsfDisUDP_Device::WsfDisUDP_Device | ( | WsfDisInterface * | aInterfacePtr, |
| const std::string & | aMulticastAddress, | ||
| const std::string & | aInterfaceAddress, | ||
| unsigned int | aPort, | ||
| unsigned int | aRcvPort, | ||
| int | aTimeToLive = -1, | ||
| bool | aRememberSenderHostname = false ) |
Create a device for performing network I/O using UDP multicast.
References WsfDisDevice::cDEVICE_MULTICAST, WsfDisDevice::mDeviceType, and WsfDisDevice::WsfDisDevice().
|
override |
|
inlineoverridevirtual |
Reimplemented from WsfDisDevice.
|
overridevirtual |
Reimplemented from WsfDisDevice.
|
overridevirtual |
Implements WsfDisDevice.