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
e703fecb
Commit
e703fecb
authored
Jan 18, 2016
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove debug output
parent
2e1e2f4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
libcaf_io/src/middleman_actor.cpp
libcaf_io/src/middleman_actor.cpp
+0
-7
No files found.
libcaf_io/src/middleman_actor.cpp
View file @
e703fecb
...
...
@@ -93,7 +93,6 @@ public:
if
(
x
)
{
CAF_LOG_DEBUG
(
"found cached entry"
<<
CAF_ARG
(
*
x
));
rp
.
deliver
(
ok_atom
::
value
,
get
<
0
>
(
*
x
),
get
<
1
>
(
*
x
),
get
<
2
>
(
*
x
));
printf
(
"%s %d
\n
"
,
__FILE__
,
__LINE__
);
return
{};
}
// attach this promise to a pending request if possible
...
...
@@ -101,7 +100,6 @@ printf("%s %d\n", __FILE__, __LINE__);
if
(
rps
)
{
CAF_LOG_DEBUG
(
"attach to pending request"
);
rps
->
emplace_back
(
std
::
move
(
rp
));
printf
(
"%s %d
\n
"
,
__FILE__
,
__LINE__
);
return
{};
}
// connect to endpoint and initiate handhsake etc.
...
...
@@ -110,14 +108,12 @@ printf("%s %d\n", __FILE__, __LINE__);
hdl
=
system
().
middleman
().
backend
().
new_tcp_scribe
(
key
.
first
,
port
);
}
catch
(
std
::
exception
&
)
{
rp
.
deliver
(
sec
::
cannot_connect_to_node
);
printf
(
"%s %d
\n
"
,
__FILE__
,
__LINE__
);
return
{};
}
std
::
vector
<
response_promise
>
tmp
{
std
::
move
(
rp
)};
pending_
.
emplace
(
key
,
std
::
move
(
tmp
));
request
(
broker_
,
connect_atom
::
value
,
hdl
,
port
).
then
(
[
=
](
ok_atom
,
node_id
&
nid
,
actor_addr
&
addr
,
mpi_set
&
sigs
)
{
printf
(
"%s %d
\n
"
,
__FILE__
,
__LINE__
);
auto
i
=
pending_
.
find
(
key
);
if
(
i
==
pending_
.
end
())
return
;
...
...
@@ -130,7 +126,6 @@ printf("%s %d\n", __FILE__, __LINE__);
pending_
.
erase
(
i
);
},
[
=
](
error
&
err
)
{
printf
(
"%s %d
\n
"
,
__FILE__
,
__LINE__
);
auto
i
=
pending_
.
find
(
key
);
if
(
i
==
pending_
.
end
())
return
;
...
...
@@ -142,7 +137,6 @@ printf("%s %d\n", __FILE__, __LINE__);
return
{};
},
[
=
](
unpublish_atom
,
const
actor_addr
&
,
uint16_t
)
->
del_res
{
printf
(
"%s %d
\n
"
,
__FILE__
,
__LINE__
);
CAF_LOG_TRACE
(
""
);
forward_current_message
(
broker_
);
return
{};
...
...
@@ -159,7 +153,6 @@ printf("%s %d\n", __FILE__, __LINE__);
return
{};
},
[
=
](
const
down_msg
&
dm
)
{
printf
(
"%s %d
\n
"
,
__FILE__
,
__LINE__
);
auto
i
=
cached_
.
begin
();
auto
e
=
cached_
.
end
();
while
(
i
!=
e
)
{
...
...
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