Removed deprecated NetworkMessageReceiver::receive overrides
This commit is contained in:
parent
8595813b7d
commit
6865923329
|
@ -163,13 +163,8 @@ struct EndpointNotFoundReceiver : NetworkMessageReceiver {
|
|||
endpoints.insert(this, e, TaskPriority::DefaultEndpoint);
|
||||
ASSERT( e == WLTOKEN_ENDPOINT_NOT_FOUND );
|
||||
}
|
||||
virtual void receive( ArenaReader& reader ) {
|
||||
virtual void receive(ArenaObjectReader& reader) override {
|
||||
// Remote machine tells us it doesn't have endpoint e
|
||||
Endpoint e; reader >> e;
|
||||
IFailureMonitor::failureMonitor().endpointNotFound(e);
|
||||
}
|
||||
|
||||
virtual void receive(ArenaObjectReader& reader) {
|
||||
Endpoint e;
|
||||
reader.deserialize(e);
|
||||
IFailureMonitor::failureMonitor().endpointNotFound(e);
|
||||
|
@ -182,11 +177,7 @@ struct PingReceiver : NetworkMessageReceiver {
|
|||
endpoints.insert(this, e, TaskPriority::ReadSocket);
|
||||
ASSERT( e == WLTOKEN_PING_PACKET );
|
||||
}
|
||||
virtual void receive( ArenaReader& reader ) {
|
||||
ReplyPromise<Void> reply; reader >> reply;
|
||||
reply.send(Void());
|
||||
}
|
||||
virtual void receive(ArenaObjectReader& reader) {
|
||||
virtual void receive(ArenaObjectReader& reader) override {
|
||||
ReplyPromise<Void> reply;
|
||||
reader.deserialize(reply);
|
||||
reply.send(Void());
|
||||
|
|
Loading…
Reference in New Issue