UdpCommandBase¶
Namespace: inet
class UdpCommandBase
Base class for UDP control info classes. The most convenient way to handle Udp is the UdpSocket class, which hides control info from you.
See also: UdpCommandCode
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
cObject |
(unknown – not in documented files) |
Known subclasses¶
Name |
Type |
Description |
|---|---|---|
class |
Control info for binding an UDP socket. To create and bind a socket, send a message to the Udp module with kind=UDP_C_BIND and an UdpBindCommand attached. |
|
class |
Control info for closing an UDP socket. To close a socket, send a message to the Udp module with kind=UDP_C_CLOSE and an UdpCloseCommand attached. The Udp module will send an UdpSocketClosedIndication answer. |
|
class |
Control info for connecting an UDP socket. To connect a socket, send a message to the Udp module with kind=UDP_C_CONNECT and an UdpConnectCommand attached. If the socket does not exist, it will be created. |
|
class |
Control info for destroying an UDP socket. To destroy a socket, send a message to the Udp module with kind=UDP_C_DESTROY and an UdpDestroyCommand attached. |
|
class |
Control info that is sent up from the Udp module to the application with UDP_I_ERROR as message kind when Udp receives an Icmp error for a packet previously sent from the socket. |
|
class |
Base class for UDP socket option control info classes. |
|
class |
Control info for inform app about an UDP socket closed. This is answer to an UdpCloseCommand. |
Source code¶
//
// Base class for UDP control info classes. The most convenient way to handle
// ~Udp is the UdpSocket class, which hides control info from you.
//
// @see ~UdpCommandCode
//
class UdpCommandBase extends cObject
{
}