1 #ifndef VFS_UDP_SOCKET_H
2 #define VFS_UDP_SOCKET_H
13 Q_INVOKABLE
explicit VFS_udp_socket(QHostAddress multicast, quint16 port, QString mode=
"rw");
38 virtual void socketError(QAbstractSocket::SocketError error);
VFS_node is the base class from which all other VFS_node classes derive.
The base class for all requests between nodes.
Open a UDP port in write or read/write mode.
virtual void socketError(QAbstractSocket::SocketError error)
virtual bool isContainer()
A VFS_udp_socket cannot have children.
QString _mode
Either "rw" or "w".
virtual QString reportDetails()
Report details of this node.
virtual ~VFS_udp_socket()
Q_INVOKABLE VFS_udp_socket(QHostAddress multicast, quint16 port, QString mode="rw")
Create a VFS_udp_socket.
QHostAddress _address
Address used to listen or speak.
QUdpSocket _socket
UDP socket.
virtual void write(VFS_request *r)
Write to this node, which will emit UDP datagrams to the network.