shared_pointer const &
This commit is contained in:
@@ -19,10 +19,10 @@ const Status BaseChannelRequester::otherRequestPendingStatus = Status(Status::ST
|
||||
const int32 BaseChannelRequester::NULL_REQUEST = -1;
|
||||
|
||||
BaseChannelRequester::BaseChannelRequester(
|
||||
ServerContextImpl::shared_pointer& context,
|
||||
ServerChannelImpl::shared_pointer& channel,
|
||||
ServerContextImpl::shared_pointer const & context,
|
||||
ServerChannelImpl::shared_pointer const & channel,
|
||||
const pvAccessID ioid,
|
||||
Transport::shared_pointer& transport) :
|
||||
Transport::shared_pointer const & transport) :
|
||||
_ioid(ioid),
|
||||
_transport(transport),
|
||||
_channel(channel),
|
||||
@@ -67,13 +67,13 @@ void BaseChannelRequester::message(const String message, const epics::pvData::Me
|
||||
BaseChannelRequester::message(_transport, _ioid, message, messageType);
|
||||
}
|
||||
|
||||
void BaseChannelRequester::message(Transport::shared_pointer& transport, const pvAccessID ioid, const String message, const MessageType messageType)
|
||||
void BaseChannelRequester::message(Transport::shared_pointer const & transport, const pvAccessID ioid, const String message, const MessageType messageType)
|
||||
{
|
||||
TransportSender::shared_pointer sender(new BaseChannelRequesterMessageTransportSender(ioid, message, messageType));
|
||||
transport->enqueueSendRequest(sender);
|
||||
}
|
||||
|
||||
void BaseChannelRequester::sendFailureMessage(const int8 command, Transport::shared_pointer& transport, const pvAccessID ioid, const int8 qos, const Status status)
|
||||
void BaseChannelRequester::sendFailureMessage(const int8 command, Transport::shared_pointer const & transport, const pvAccessID ioid, const int8 qos, const Status status)
|
||||
{
|
||||
TransportSender::shared_pointer sender(new BaseChannelRequesterFailureMessageTransportSender(command, transport, ioid, qos, status));
|
||||
transport->enqueueSendRequest(sender);
|
||||
@@ -105,7 +105,7 @@ void BaseChannelRequesterMessageTransportSender::unlock()
|
||||
}
|
||||
|
||||
BaseChannelRequesterFailureMessageTransportSender::BaseChannelRequesterFailureMessageTransportSender(const int8 command,
|
||||
Transport::shared_pointer& transport, const pvAccessID ioid, const int8 qos, const Status& status) :
|
||||
Transport::shared_pointer const & transport, const pvAccessID ioid, const int8 qos, const Status& status) :
|
||||
_command(command),
|
||||
_ioid(ioid),
|
||||
_qos(qos),
|
||||
|
||||
Reference in New Issue
Block a user