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
3a01cb58
Commit
3a01cb58
authored
Nov 11, 2014
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `unpublish` function to manual
parent
ea22d269
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
manual/NetworkTransparency.tex
manual/NetworkTransparency.tex
+7
-1
No files found.
manual/NetworkTransparency.tex
View file @
3a01cb58
...
...
@@ -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
^
).
\begin{lstlisting}
io::
publish(self, 4242);
publish(self, 4242);
self->become (
on(atom("ping"), arg
_
match) >> [](int i)
{
return make
_
message(atom("pong"), i);
...
...
@@ -24,6 +24,12 @@ self->become (
);
\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
}
\begin{lstlisting}
...
...
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