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
255967b6
Commit
255967b6
authored
Jul 16, 2014
by
Matthias Vallentin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust a few boost references.
parent
d8fc2abe
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
25 deletions
+17
-25
caf/all.hpp
caf/all.hpp
+2
-2
caf/io/broker.hpp
caf/io/broker.hpp
+4
-4
caf/io/max_msg_size.hpp
caf/io/max_msg_size.hpp
+4
-4
caf/io/network.hpp
caf/io/network.hpp
+1
-1
caf/io/publish_local_groups.hpp
caf/io/publish_local_groups.hpp
+1
-1
caf/policy/nestable_invoke.hpp
caf/policy/nestable_invoke.hpp
+0
-8
src/max_msg_size.cpp
src/max_msg_size.cpp
+5
-5
No files found.
caf/all.hpp
View file @
255967b6
...
@@ -138,8 +138,8 @@
...
@@ -138,8 +138,8 @@
*
*
* Please read the <b>Manual</b> for an introduction to @p libcaf.
* Please read the <b>Manual</b> for an introduction to @p libcaf.
* It is available online as HTML at
* It is available online as HTML at
* http://neverlord.github.com/
boost.actor
/manual/index.html or as PDF at
* http://neverlord.github.com/
libcaf
/manual/index.html or as PDF at
* http://neverlord.github.com/
boost.actor
/manual/manual.pdf
* http://neverlord.github.com/
libcaf
/manual/manual.pdf
*
*
* @section IntroHelloWorld Hello World Example
* @section IntroHelloWorld Hello World Example
*
*
...
...
caf/io/broker.hpp
View file @
255967b6
...
@@ -258,7 +258,7 @@ class broker : public extend<local_actor>::
...
@@ -258,7 +258,7 @@ class broker : public extend<local_actor>::
}
}
void
configure_read
(
receive_policy
::
config
config
)
override
{
void
configure_read
(
receive_policy
::
config
config
)
override
{
CAF_LOGM_TRACE
(
"
boost::actor_
io::broker::scribe"
,
""
);
CAF_LOGM_TRACE
(
"
caf::
io::broker::scribe"
,
""
);
m_stream
.
configure_read
(
config
);
m_stream
.
configure_read
(
config
);
if
(
!
m_launched
)
launch
();
if
(
!
m_launched
)
launch
();
}
}
...
@@ -272,18 +272,18 @@ class broker : public extend<local_actor>::
...
@@ -272,18 +272,18 @@ class broker : public extend<local_actor>::
}
}
void
stop_reading
()
override
{
void
stop_reading
()
override
{
CAF_LOGM_TRACE
(
"
boost::actor_
io::broker::scribe"
,
""
);
CAF_LOGM_TRACE
(
"
caf::
io::broker::scribe"
,
""
);
m_stream
.
stop_reading
();
m_stream
.
stop_reading
();
disconnect
();
disconnect
();
}
}
void
flush
()
override
{
void
flush
()
override
{
CAF_LOGM_TRACE
(
"
boost::actor_
io::broker::scribe"
,
""
);
CAF_LOGM_TRACE
(
"
caf::
io::broker::scribe"
,
""
);
m_stream
.
flush
(
this
);
m_stream
.
flush
(
this
);
}
}
void
launch
()
{
void
launch
()
{
CAF_LOGM_TRACE
(
"
boost::actor_
io::broker::scribe"
,
""
);
CAF_LOGM_TRACE
(
"
caf::
io::broker::scribe"
,
""
);
CAF_REQUIRE
(
!
m_launched
);
CAF_REQUIRE
(
!
m_launched
);
m_launched
=
true
;
m_launched
=
true
;
m_stream
.
start
(
this
);
m_stream
.
start
(
this
);
...
...
caf/io/max_msg_size.hpp
View file @
255967b6
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
#include <cstddef> // size_t
#include <cstddef> // size_t
namespace
boost
{
namespace
caf
{
namespace
actor_
io
{
namespace
io
{
/**
/**
* @brief Sets the maximum size of a message over network.
* @brief Sets the maximum size of a message over network.
...
@@ -36,7 +36,7 @@ void max_msg_size(size_t size);
...
@@ -36,7 +36,7 @@ void max_msg_size(size_t size);
*/
*/
size_t
max_msg_size
();
size_t
max_msg_size
();
}
// namespace
actor_
io
}
// namespace io
}
// namespace
boost
}
// namespace
caf
#endif // CAF_IO_MAX_MSG_SIZE_HPP
#endif // CAF_IO_MAX_MSG_SIZE_HPP
caf/io/network.hpp
View file @
255967b6
...
@@ -622,7 +622,7 @@ class stream : public event_handler {
...
@@ -622,7 +622,7 @@ class stream : public event_handler {
}
}
void
stop_reading
()
{
void
stop_reading
()
{
CAF_LOGM_TRACE
(
"
boost::actor_
io::network::stream"
,
""
);
CAF_LOGM_TRACE
(
"
caf::
io::network::stream"
,
""
);
m_sock
.
close_read
();
m_sock
.
close_read
();
backend
().
del
(
operation
::
read
,
m_sock
.
fd
(),
this
);
backend
().
del
(
operation
::
read
,
m_sock
.
fd
(),
this
);
}
}
...
...
caf/io/publish_local_groups.hpp
View file @
255967b6
...
@@ -33,6 +33,6 @@ namespace io {
...
@@ -33,6 +33,6 @@ namespace io {
void
publish_local_groups
(
uint16_t
port
,
const
char
*
addr
=
nullptr
);
void
publish_local_groups
(
uint16_t
port
,
const
char
*
addr
=
nullptr
);
}
// namespace io
}
// namespace io
}
// namespace
boost
}
// namespace
caf
#endif // CAF_IO_PUBLISH_LOCAL_GROUPS_HPP
#endif // CAF_IO_PUBLISH_LOCAL_GROUPS_HPP
caf/policy/nestable_invoke.hpp
View file @
255967b6
...
@@ -31,14 +31,6 @@
...
@@ -31,14 +31,6 @@
#include "caf/policy/invoke_policy.hpp"
#include "caf/policy/invoke_policy.hpp"
namespace
boost
{
namespace
actor
{
namespace
detail
{
class
receive_policy
;
}
}
}
namespace
caf
{
namespace
caf
{
namespace
policy
{
namespace
policy
{
...
...
src/max_msg_size.cpp
View file @
255967b6
...
@@ -18,10 +18,10 @@
...
@@ -18,10 +18,10 @@
#include <atomic>
#include <atomic>
#include "
boost/actor_
io/max_msg_size.hpp"
#include "
caf/
io/max_msg_size.hpp"
namespace
boost
{
namespace
caf
{
namespace
actor_
io
{
namespace
io
{
namespace
{
namespace
{
std
::
atomic
<
size_t
>
default_max_msg_size
{
16
*
1024
*
1024
};
std
::
atomic
<
size_t
>
default_max_msg_size
{
16
*
1024
*
1024
};
...
@@ -31,5 +31,5 @@ void max_msg_size(size_t size) { default_max_msg_size = size; }
...
@@ -31,5 +31,5 @@ void max_msg_size(size_t size) { default_max_msg_size = size; }
size_t
max_msg_size
()
{
return
default_max_msg_size
;
}
size_t
max_msg_size
()
{
return
default_max_msg_size
;
}
}
// namespace
actor_
io
}
// namespace io
}
// namespace
boost
}
// namespace
caf
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