further dead code
This commit is contained in:
@ -37,8 +37,8 @@ void BeaconHandler::beaconNotify(osiSockAddr* /*from*/, int8 remoteTransportRevi
|
||||
PVFieldPtr /*data*/)
|
||||
{
|
||||
bool networkChanged = updateBeacon(remoteTransportRevision, timestamp, guid, sequentalID, changeCount);
|
||||
if (networkChanged)
|
||||
changedTransport();
|
||||
// TODO: reduce search timers
|
||||
(void)networkChanged;
|
||||
}
|
||||
|
||||
bool BeaconHandler::updateBeacon(int8 /*remoteTransportRevision*/, TimeStamp* /*timestamp*/,
|
||||
@ -83,19 +83,6 @@ bool BeaconHandler::updateBeacon(int8 /*remoteTransportRevision*/, TimeStamp* /*
|
||||
return false;
|
||||
}
|
||||
|
||||
void BeaconHandler::changedTransport()
|
||||
{
|
||||
TransportRegistry::transportVector_t transports;
|
||||
_context.lock()->getTransportRegistry()->toArray(transports, &_responseFrom);
|
||||
|
||||
// notify all
|
||||
for (TransportRegistry::transportVector_t::iterator iter(transports.begin()), end(transports.end());
|
||||
iter != end; iter++)
|
||||
{
|
||||
(*iter)->changedTransport();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1818,9 +1818,6 @@ void BlockingClientTCPTransportCodec::release(pvAccessID clientID) {
|
||||
}
|
||||
}
|
||||
|
||||
void BlockingClientTCPTransportCodec::changedTransport() {
|
||||
}
|
||||
|
||||
void BlockingClientTCPTransportCodec::send(ByteBuffer* buffer,
|
||||
TransportSendControl* control)
|
||||
{
|
||||
|
@ -101,10 +101,6 @@ private:
|
||||
ServerGUID const &guid,
|
||||
epics::pvData::int16 sequentalID,
|
||||
epics::pvData::int16 changeCount);
|
||||
/**
|
||||
* Changed transport (server restarted) notify.
|
||||
*/
|
||||
void changedTransport();
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -97,10 +97,6 @@ public:
|
||||
// noop for UDP (limited by 64k; MAX_UDP_SEND for PVA)
|
||||
}
|
||||
|
||||
virtual void changedTransport() OVERRIDE FINAL {
|
||||
// noop
|
||||
}
|
||||
|
||||
virtual bool verify(epics::pvData::int32 /*timeoutMs*/) OVERRIDE FINAL {
|
||||
// noop
|
||||
return true;
|
||||
|
@ -519,8 +519,6 @@ public:
|
||||
|
||||
virtual void release(pvAccessID /*clientId*/) OVERRIDE FINAL {}
|
||||
|
||||
virtual void changedTransport() OVERRIDE {}
|
||||
|
||||
pvAccessID preallocateChannelSID();
|
||||
|
||||
void depreallocateChannelSID(pvAccessID /*sid*/) {}
|
||||
@ -656,8 +654,6 @@ public:
|
||||
|
||||
virtual void release(pvAccessID clientId) OVERRIDE FINAL;
|
||||
|
||||
virtual void changedTransport() OVERRIDE FINAL;
|
||||
|
||||
virtual void send(epics::pvData::ByteBuffer* buffer,
|
||||
TransportSendControl* control) OVERRIDE FINAL;
|
||||
|
||||
|
@ -222,11 +222,6 @@ public:
|
||||
// TODO enum
|
||||
virtual void setByteOrder(int byteOrder) = 0;
|
||||
|
||||
/**
|
||||
* Notification that transport has changed.
|
||||
*/
|
||||
virtual void changedTransport() = 0;
|
||||
|
||||
/**
|
||||
* Enqueue send request.
|
||||
* @param sender
|
||||
|
@ -372,8 +372,6 @@ public:
|
||||
void setRemoteTransportReceiveBufferSize(
|
||||
std::size_t remoteTransportReceiveBufferSize) {}
|
||||
|
||||
void changedTransport() {}
|
||||
|
||||
void flushSendQueue() { };
|
||||
|
||||
bool verify(epics::pvData::int32 timeoutMs) {
|
||||
|
Reference in New Issue
Block a user