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
e314976b
Commit
e314976b
authored
Nov 11, 2014
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into develop
parents
77bda8b5
a670c353
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
libcaf_core/caf/config.hpp
libcaf_core/caf/config.hpp
+1
-1
manual/NetworkTransparency.tex
manual/NetworkTransparency.tex
+7
-1
manual/manual.pdf
manual/manual.pdf
+0
-0
No files found.
libcaf_core/caf/config.hpp
View file @
e314976b
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
* whereas each number is a two-digit decimal number without
* whereas each number is a two-digit decimal number without
* leading zeros (e.g. 900 is version 0.9.0).
* leading zeros (e.g. 900 is version 0.9.0).
*/
*/
#define CAF_VERSION 110
1
#define CAF_VERSION 110
2
#define CAF_MAJOR_VERSION (CAF_VERSION / 10000)
#define CAF_MAJOR_VERSION (CAF_VERSION / 10000)
#define CAF_MINOR_VERSION ((CAF_VERSION / 100) % 100)
#define CAF_MINOR_VERSION ((CAF_VERSION / 100) % 100)
...
...
manual/NetworkTransparency.tex
View file @
e314976b
...
@@ -16,7 +16,7 @@ The optional \lstinline^addr^ parameter can be used to listen only to the given
...
@@ -16,7 +16,7 @@ The optional \lstinline^addr^ parameter can be used to listen only to the given
Otherwise, the actor accepts all incoming connections (
\lstinline
^
INADDR
_
ANY
^
).
Otherwise, the actor accepts all incoming connections (
\lstinline
^
INADDR
_
ANY
^
).
\begin{lstlisting}
\begin{lstlisting}
io::
publish(self, 4242);
publish(self, 4242);
self->become (
self->become (
on(atom("ping"), arg
_
match) >> [](int i)
{
on(atom("ping"), arg
_
match) >> [](int i)
{
return make
_
message(atom("pong"), i);
return make
_
message(atom("pong"), i);
...
@@ -24,6 +24,12 @@ self->become (
...
@@ -24,6 +24,12 @@ self->become (
);
);
\end{lstlisting}
\end{lstlisting}
To close a socket, e.g., to allow other actors to be published at the port, the function
\lstinline
^
unpublish
^
can be used:
\begin{lstlisting}
void unpublish(caf::actor whom, uint16
_
t port)
\end{lstlisting}
\subsection
{
Connecting to Remote Actors
}
\subsection
{
Connecting to Remote Actors
}
\begin{lstlisting}
\begin{lstlisting}
...
...
manual/manual.pdf
View file @
e314976b
No preview for this file type
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