separate PIEthernet::Address to PINetworkAddress, typedef PIEthernet::Address to PINetworkAddress and mark as deprecated
PIValueTree new attributes for File and Dir
This commit is contained in:
@@ -77,10 +77,10 @@ public:
|
||||
ushort multicastPort() const { return mcast_address.port(); }
|
||||
|
||||
//! Set multicast address to \"addr\" and queue to reinit
|
||||
void setMulticastAddress(const PIEthernet::Address & addr);
|
||||
void setMulticastAddress(const PINetworkAddress & addr);
|
||||
|
||||
//! Returns multicast address
|
||||
PIEthernet::Address multicastAddress() const { return mcast_address; }
|
||||
PINetworkAddress multicastAddress() const { return mcast_address; }
|
||||
|
||||
|
||||
//! Set broadcast port to \"port\" and queue to reinit
|
||||
@@ -136,15 +136,15 @@ protected:
|
||||
private:
|
||||
EVENT_HANDLER2(void, mcastRead, const uchar *, data, ssize_t, size);
|
||||
void destroyAll();
|
||||
void initAll(PIVector<PIEthernet::Address> al);
|
||||
void initAll(PIVector<PINetworkAddress> al);
|
||||
void run() override;
|
||||
|
||||
Channels _channels;
|
||||
PIEthernet::Address mcast_address;
|
||||
PINetworkAddress mcast_address;
|
||||
PIMutex mcast_mutex;
|
||||
PIVector<PIEthernet *> eth_mcast;
|
||||
PIEthernet * eth_lo;
|
||||
PIVector<PIEthernet::Address> prev_al;
|
||||
PIVector<PINetworkAddress> prev_al;
|
||||
ushort lo_port, bcast_port;
|
||||
int lo_pcnt;
|
||||
bool _started, _send_only, _reinit;
|
||||
|
||||
Reference in New Issue
Block a user