Home | History | Annotate | Download | only in pdx
      1 #ifndef ANDROID_PDX_CLIENT_CHANNEL_FACTORY_H_
      2 #define ANDROID_PDX_CLIENT_CHANNEL_FACTORY_H_
      3 
      4 #include <pdx/client_channel.h>
      5 #include <pdx/status.h>
      6 
      7 namespace android {
      8 namespace pdx {
      9 
     10 class ClientChannelFactory {
     11  public:
     12   virtual ~ClientChannelFactory() = default;
     13 
     14   virtual Status<std::unique_ptr<ClientChannel>> Connect(
     15       int64_t timeout_ms) const = 0;
     16 };
     17 
     18 }  // namespace pdx
     19 }  // namespace android
     20 
     21 #endif  // ANDROID_PDX_CLIENT_CHANNEL_FACTORY_H_
     22