@@ -83,7 +83,7 @@ class UnixDomainSocketImpl : public boost::enable_shared_from_this<UnixDomainSoc
83
83
// / @param buffer Buffers holding the data to be sent.
84
84
// / @param handler User supplied callback to be invoked when data have
85
85
// / been sent or sending error is signalled.
86
- void doSend (const boost::asio::const_buffers_1 & buffer,
86
+ void doSend (const boost::asio::const_buffer & buffer,
87
87
const UnixDomainSocket::Handler& handler);
88
88
89
89
@@ -103,7 +103,7 @@ class UnixDomainSocketImpl : public boost::enable_shared_from_this<UnixDomainSoc
103
103
// / @param ec Error code returned as a result of sending the data.
104
104
// / @param length Length of the data sent.
105
105
void sendHandler (const UnixDomainSocket::Handler& remote_handler,
106
- const boost::asio::const_buffers_1 & buffer,
106
+ const boost::asio::const_buffer & buffer,
107
107
const boost::system::error_code& ec,
108
108
size_t length);
109
109
@@ -127,7 +127,7 @@ class UnixDomainSocketImpl : public boost::enable_shared_from_this<UnixDomainSoc
127
127
// / @param buffer A buffer into which the data should be received.
128
128
// / @param handler User supplied callback invoked when data have been
129
129
// / received on an error is signalled.
130
- void doReceive (const boost::asio::mutable_buffers_1 & buffer,
130
+ void doReceive (const boost::asio::mutable_buffer & buffer,
131
131
const UnixDomainSocket::Handler& handler);
132
132
133
133
// / @brief Local handler invoked as a result of asynchronous receive.
@@ -146,7 +146,7 @@ class UnixDomainSocketImpl : public boost::enable_shared_from_this<UnixDomainSoc
146
146
// / @param ec Error code returned as a result of asynchronous receive.
147
147
// / @param length Size of the received data.
148
148
void receiveHandler (const UnixDomainSocket::Handler& remote_handler,
149
- const boost::asio::mutable_buffers_1 & buffer,
149
+ const boost::asio::mutable_buffer & buffer,
150
150
const boost::system::error_code& ec,
151
151
size_t length);
152
152
@@ -197,7 +197,7 @@ UnixDomainSocketImpl::asyncSend(const void* data, const size_t length,
197
197
}
198
198
199
199
void
200
- UnixDomainSocketImpl::doSend (const boost::asio::const_buffers_1 & buffer,
200
+ UnixDomainSocketImpl::doSend (const boost::asio::const_buffer & buffer,
201
201
const UnixDomainSocket::Handler& handler) {
202
202
auto local_handler = std::bind (&UnixDomainSocketImpl::sendHandler,
203
203
shared_from_this (),
@@ -207,7 +207,7 @@ UnixDomainSocketImpl::doSend(const boost::asio::const_buffers_1& buffer,
207
207
208
208
void
209
209
UnixDomainSocketImpl::sendHandler (const UnixDomainSocket::Handler& remote_handler,
210
- const boost::asio::const_buffers_1 & buffer,
210
+ const boost::asio::const_buffer & buffer,
211
211
const boost::system::error_code& ec,
212
212
size_t length) {
213
213
// The asynchronous send may return EWOULDBLOCK or EAGAIN on some
@@ -230,7 +230,7 @@ UnixDomainSocketImpl::asyncReceive(void* data, const size_t length,
230
230
}
231
231
232
232
void
233
- UnixDomainSocketImpl::doReceive (const boost::asio::mutable_buffers_1 & buffer,
233
+ UnixDomainSocketImpl::doReceive (const boost::asio::mutable_buffer & buffer,
234
234
const UnixDomainSocket::Handler& handler) {
235
235
auto local_handler = std::bind (&UnixDomainSocketImpl::receiveHandler,
236
236
shared_from_this (),
@@ -240,7 +240,7 @@ UnixDomainSocketImpl::doReceive(const boost::asio::mutable_buffers_1& buffer,
240
240
241
241
void
242
242
UnixDomainSocketImpl::receiveHandler (const UnixDomainSocket::Handler& remote_handler,
243
- const boost::asio::mutable_buffers_1 & buffer,
243
+ const boost::asio::mutable_buffer & buffer,
244
244
const boost::system::error_code& ec,
245
245
size_t length) {
246
246
// The asynchronous receive may return EWOULDBLOCK or EAGAIN on some
0 commit comments