| 369 | return connection; |
| 370 | } |
| 371 | void set_connection(ConnectionRef c) { |
| 372 | #ifdef WITH_CRIMSON |
| 373 | // In crimson, conn is independently maintained outside Message. |
| 374 | ceph_assert(c == nullptr); |
| 375 | #endif |
| 376 | connection = std::move(c); |
| 377 | } |
| 378 | CompletionHook* get_completion_hook() { return completion_hook; } |
| 379 | void set_completion_hook(CompletionHook *hook) { completion_hook = hook; } |
| 380 | void set_byte_throttler(ThrottleInterface *t) { |
no outgoing calls