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
3ab68814
Commit
3ab68814
authored
Nov 18, 2019
by
Andris Mednis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling: occurred
parent
ba3c32a8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
libcaf_io/caf/io/basp/instance.hpp
libcaf_io/caf/io/basp/instance.hpp
+2
-2
libcaf_io/caf/io/network/acceptor.hpp
libcaf_io/caf/io/network/acceptor.hpp
+1
-1
libcaf_io/caf/policy/tcp.hpp
libcaf_io/caf/policy/tcp.hpp
+2
-2
libcaf_io/src/io/network/default_multiplexer.cpp
libcaf_io/src/io/network/default_multiplexer.cpp
+1
-1
No files found.
libcaf_io/caf/io/basp/instance.hpp
View file @
3ab68814
...
@@ -63,7 +63,7 @@ public:
...
@@ -63,7 +63,7 @@ public:
std
::
set
<
std
::
string
>&
sigs
)
=
0
;
std
::
set
<
std
::
string
>&
sigs
)
=
0
;
/// Called whenever a direct connection was closed or a
/// Called whenever a direct connection was closed or a
/// node became unrechable for other reasons *before*
/// node became unre
a
chable for other reasons *before*
/// this node gets erased from the routing table.
/// this node gets erased from the routing table.
/// @warning The implementing class must not modify the
/// @warning The implementing class must not modify the
/// routing table from this callback.
/// routing table from this callback.
...
@@ -116,7 +116,7 @@ public:
...
@@ -116,7 +116,7 @@ public:
instance
(
abstract_broker
*
parent
,
callee
&
lstnr
);
instance
(
abstract_broker
*
parent
,
callee
&
lstnr
);
/// Handles received data and returns a config for receiving the
/// Handles received data and returns a config for receiving the
/// next data or `none` if an error occured.
/// next data or `none` if an error occur
r
ed.
connection_state
handle
(
execution_unit
*
ctx
,
connection_state
handle
(
execution_unit
*
ctx
,
new_data_msg
&
dm
,
header
&
hdr
,
bool
is_payload
);
new_data_msg
&
dm
,
header
&
hdr
,
bool
is_payload
);
...
...
libcaf_io/caf/io/network/acceptor.hpp
View file @
3ab68814
...
@@ -49,7 +49,7 @@ public:
...
@@ -49,7 +49,7 @@ public:
/// Starts this acceptor, forwarding all incoming connections to
/// Starts this acceptor, forwarding all incoming connections to
/// `manager`. The intrusive pointer will be released after the
/// `manager`. The intrusive pointer will be released after the
/// acceptor has been closed or an IO error occured.
/// acceptor has been closed or an IO error occur
r
ed.
void
start
(
acceptor_manager
*
mgr
);
void
start
(
acceptor_manager
*
mgr
);
/// Activates the acceptor.
/// Activates the acceptor.
...
...
libcaf_io/caf/policy/tcp.hpp
View file @
3ab68814
...
@@ -27,7 +27,7 @@ namespace caf::policy {
...
@@ -27,7 +27,7 @@ namespace caf::policy {
struct
tcp
{
struct
tcp
{
/// Reads up to `len` bytes from `fd,` writing the received data
/// Reads up to `len` bytes from `fd,` writing the received data
/// to `buf`. Returns `true` as long as `fd` is readable and `false`
/// to `buf`. Returns `true` as long as `fd` is readable and `false`
/// if the socket has been closed or an IO error occured. The number
/// if the socket has been closed or an IO error occur
r
ed. The number
/// of read bytes is stored in `result` (can be 0).
/// of read bytes is stored in `result` (can be 0).
static
io
::
network
::
rw_state
read_some
(
size_t
&
result
,
static
io
::
network
::
rw_state
read_some
(
size_t
&
result
,
io
::
network
::
native_socket
fd
,
io
::
network
::
native_socket
fd
,
...
@@ -35,7 +35,7 @@ struct tcp {
...
@@ -35,7 +35,7 @@ struct tcp {
/// Writes up to `len` bytes from `buf` to `fd`.
/// Writes up to `len` bytes from `buf` to `fd`.
/// Returns `true` as long as `fd` is readable and `false`
/// Returns `true` as long as `fd` is readable and `false`
/// if the socket has been closed or an IO error occured. The number
/// if the socket has been closed or an IO error occur
r
ed. The number
/// of written bytes is stored in `result` (can be 0).
/// of written bytes is stored in `result` (can be 0).
static
io
::
network
::
rw_state
write_some
(
size_t
&
result
,
static
io
::
network
::
rw_state
write_some
(
size_t
&
result
,
io
::
network
::
native_socket
fd
,
io
::
network
::
native_socket
fd
,
...
...
libcaf_io/src/io/network/default_multiplexer.cpp
View file @
3ab68814
...
@@ -570,7 +570,7 @@ void default_multiplexer::handle_socket_event(native_socket fd, int mask,
...
@@ -570,7 +570,7 @@ void default_multiplexer::handle_socket_event(native_socket fd, int mask,
ptr
->
handle_event
(
operation
::
write
);
ptr
->
handle_event
(
operation
::
write
);
}
}
if
(
checkerror
&&
((
mask
&
error_mask
)
!=
0
))
{
if
(
checkerror
&&
((
mask
&
error_mask
)
!=
0
))
{
CAF_LOG_DEBUG
(
"error occured on socket:"
CAF_LOG_DEBUG
(
"error occur
r
ed on socket:"
<<
CAF_ARG
(
fd
)
<<
CAF_ARG
(
last_socket_error
())
<<
CAF_ARG
(
fd
)
<<
CAF_ARG
(
last_socket_error
())
<<
CAF_ARG
(
last_socket_error_as_string
()));
<<
CAF_ARG
(
last_socket_error_as_string
()));
ptr
->
handle_event
(
operation
::
propagate_error
);
ptr
->
handle_event
(
operation
::
propagate_error
);
...
...
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