diff options
Diffstat (limited to 'src/msg/async/Stack.h')
-rw-r--r-- | src/msg/async/Stack.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/msg/async/Stack.h b/src/msg/async/Stack.h index 37a33163d6b..7b8b62f36fb 100644 --- a/src/msg/async/Stack.h +++ b/src/msg/async/Stack.h @@ -28,7 +28,7 @@ class ConnectedSocketImpl { virtual ~ConnectedSocketImpl() {} virtual int is_connected() = 0; virtual ssize_t read(char*, size_t) = 0; - virtual ssize_t send(bufferlist &bl, bool more) = 0; + virtual ssize_t send(ceph::buffer::list &bl, bool more) = 0; virtual void shutdown() = 0; virtual void close() = 0; virtual int fd() const = 0; @@ -96,7 +96,7 @@ class ConnectedSocket { /// Gets the output stream. /// /// Gets an object that sends data to the remote endpoint. - ssize_t send(bufferlist &bl, bool more) { + ssize_t send(ceph::buffer::list &bl, bool more) { return _csi->send(bl, more); } /// Disables output to the socket. @@ -302,9 +302,9 @@ class NetworkStack { protected: CephContext *cct; - vector<Worker*> workers; + std::vector<Worker*> workers; - explicit NetworkStack(CephContext *c, const string &t); + explicit NetworkStack(CephContext *c, const std::string &t); public: NetworkStack(const NetworkStack &) = delete; NetworkStack& operator=(const NetworkStack &) = delete; @@ -314,10 +314,10 @@ class NetworkStack { } static std::shared_ptr<NetworkStack> create( - CephContext *c, const string &type); + CephContext *c, const std::string &type); static Worker* create_worker( - CephContext *c, const string &t, unsigned i); + CephContext *c, const std::string &t, unsigned i); // backend need to override this method if backend doesn't support shared // listen table. // For example, posix backend has in kernel global listen table. If one |