Find a channel via the given name. Args: name: peer name, e.g. worker1 Returns channel object that is connected to the named peer.
| 193 | // Returns |
| 194 | // channel object that is connected to the named peer. |
| 195 | RdmaChannel* RdmaMgr::FindChannel(const string& name) { |
| 196 | ChannelTable::iterator iter = channel_table_.find(name); |
| 197 | CHECK(iter != channel_table_.end()); |
| 198 | return iter->second; |
| 199 | } |
| 200 | |
| 201 | bool IsGDRAvailable() { |
| 202 | #if defined(__APPLE__) |
no test coverage detected