Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
80eadedb
Commit
80eadedb
authored
Mar 01, 2022
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix arguments for run_with_length_prefix_framing
parent
70c88b85
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
libcaf_net/caf/net/length_prefix_framing.hpp
libcaf_net/caf/net/length_prefix_framing.hpp
+5
-3
No files found.
libcaf_net/caf/net/length_prefix_framing.hpp
View file @
80eadedb
...
@@ -251,14 +251,16 @@ private:
...
@@ -251,14 +251,16 @@ private:
/// @param trait Converts between the native and the wire format.
/// @param trait Converts between the native and the wire format.
/// @relates length_prefix_framing
/// @relates length_prefix_framing
template
<
template
<
class
>
class
Transport
=
stream_transport
,
class
Socket
,
template
<
template
<
class
>
class
Transport
=
stream_transport
,
class
Socket
,
class
T
,
class
Trait
>
class
T
,
class
Trait
,
class
...
TransportArgs
>
error
run_with_length_prefix_framing
(
multiplexer
&
mpx
,
Socket
fd
,
error
run_with_length_prefix_framing
(
multiplexer
&
mpx
,
Socket
fd
,
const
settings
&
cfg
,
const
settings
&
cfg
,
async
::
consumer_resource
<
T
>
in
,
async
::
consumer_resource
<
T
>
in
,
async
::
producer_resource
<
T
>
out
,
async
::
producer_resource
<
T
>
out
,
Trait
trait
)
{
Trait
trait
,
TransportArgs
&&
...
args
)
{
using
app_t
=
Transport
<
length_prefix_framing
<
message_flow_bridge
<
T
,
Trait
>>>
;
using
app_t
=
Transport
<
length_prefix_framing
<
message_flow_bridge
<
T
,
Trait
>>>
;
auto
mgr
=
make_socket_manager
<
app_t
>
(
fd
,
&
mpx
,
std
::
move
(
in
),
std
::
move
(
out
),
auto
mgr
=
make_socket_manager
<
app_t
>
(
fd
,
&
mpx
,
std
::
forward
<
TransportArgs
>
(
args
)...,
std
::
move
(
in
),
std
::
move
(
out
),
std
::
move
(
trait
));
std
::
move
(
trait
));
return
mgr
->
init
(
cfg
);
return
mgr
->
init
(
cfg
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment