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
c5ad7e7d
Commit
c5ad7e7d
authored
Jul 06, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove all function that are deprecated since 0.10
parent
d0169ede
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
138 deletions
+0
-138
libcaf_core/caf/local_actor.hpp
libcaf_core/caf/local_actor.hpp
+0
-43
libcaf_core/caf/mixin/sync_sender.hpp
libcaf_core/caf/mixin/sync_sender.hpp
+0
-49
libcaf_core/caf/send.hpp
libcaf_core/caf/send.hpp
+0
-31
libcaf_io/caf/io/abstract_broker.hpp
libcaf_io/caf/io/abstract_broker.hpp
+0
-15
No files found.
libcaf_core/caf/local_actor.hpp
View file @
c5ad7e7d
...
...
@@ -396,20 +396,6 @@ public:
actor_addr
&
last_sender
()
CAF_DEPRECATED
;
// </backward_compatibility>
// <backward_compatibility version="0.9">
inline
void
send_tuple
(
message_priority
mp
,
const
channel
&
whom
,
message
what
)
CAF_DEPRECATED
;
inline
void
send_tuple
(
const
channel
&
whom
,
message
what
)
CAF_DEPRECATED
;
inline
void
delayed_send_tuple
(
message_priority
mp
,
const
channel
&
whom
,
const
duration
&
rtime
,
message
data
)
CAF_DEPRECATED
;
inline
void
delayed_send_tuple
(
const
channel
&
whom
,
const
duration
&
rtime
,
message
data
)
CAF_DEPRECATED
;
// </backward_compatibility>
/****************************************************************************
* override pure virtual member functions of resumable *
****************************************************************************/
...
...
@@ -620,35 +606,6 @@ private:
/// @relates local_actor
using
local_actor_ptr
=
intrusive_ptr
<
local_actor
>
;
// <backward_compatibility version="0.9">
inline
void
local_actor
::
send_tuple
(
message_priority
mp
,
const
channel
&
whom
,
message
what
)
{
send_impl
(
message_id
::
make
(
mp
),
actor_cast
<
abstract_channel
*>
(
whom
),
std
::
move
(
what
));
}
inline
void
local_actor
::
send_tuple
(
const
channel
&
whom
,
message
what
)
{
send_impl
(
message_id
::
make
(),
actor_cast
<
abstract_channel
*>
(
whom
),
std
::
move
(
what
));
}
inline
void
local_actor
::
delayed_send_tuple
(
message_priority
mp
,
const
channel
&
whom
,
const
duration
&
rtime
,
message
data
)
{
delayed_send_impl
(
message_id
::
make
(
mp
),
actor_cast
<
abstract_channel
*>
(
whom
),
rtime
,
std
::
move
(
data
));
}
inline
void
local_actor
::
delayed_send_tuple
(
const
channel
&
whom
,
const
duration
&
rtime
,
message
data
)
{
delayed_send_impl
(
message_id
::
make
(),
actor_cast
<
abstract_channel
*>
(
whom
),
rtime
,
std
::
move
(
data
));
}
// </backward_compatibility>
}
// namespace caf
#endif // CAF_LOCAL_ACTOR_HPP
libcaf_core/caf/mixin/sync_sender.hpp
View file @
c5ad7e7d
...
...
@@ -208,23 +208,6 @@ public:
* deprecated member functions *
****************************************************************************/
// <backward_compatibility version="0.9">
response_handle_type
sync_send_tuple
(
message_priority
mp
,
const
actor
&
dest
,
message
what
)
CAF_DEPRECATED
;
response_handle_type
sync_send_tuple
(
const
actor
&
dest
,
message
what
)
CAF_DEPRECATED
;
response_handle_type
timed_sync_send_tuple
(
message_priority
mp
,
const
actor
&
dest
,
const
duration
&
rtime
,
message
what
)
CAF_DEPRECATED
;
response_handle_type
timed_sync_send_tuple
(
const
actor
&
dest
,
const
duration
&
rtime
,
message
what
)
CAF_DEPRECATED
;
// </backward_compatibility>
private:
Subtype
*
dptr
()
{
return
static_cast
<
Subtype
*>
(
this
);
...
...
@@ -238,38 +221,6 @@ public:
using
impl
=
sync_sender_impl
<
Base
,
Subtype
,
ResponseHandleTag
>
;
};
// <backward_compatibility version="0.9">
template
<
class
B
,
class
S
,
class
H
>
typename
sync_sender_impl
<
B
,
S
,
H
>::
response_handle_type
sync_sender_impl
<
B
,
S
,
H
>::
sync_send_tuple
(
message_priority
mp
,
const
actor
&
dest
,
message
what
)
{
return
sync_send
(
mp
,
dest
,
std
::
move
(
what
));
}
template
<
class
B
,
class
S
,
class
H
>
typename
sync_sender_impl
<
B
,
S
,
H
>::
response_handle_type
sync_sender_impl
<
B
,
S
,
H
>::
sync_send_tuple
(
const
actor
&
dest
,
message
what
)
{
return
sync_send
(
message_priority
::
normal
,
dest
,
std
::
move
(
what
));
}
template
<
class
B
,
class
S
,
class
H
>
typename
sync_sender_impl
<
B
,
S
,
H
>::
response_handle_type
sync_sender_impl
<
B
,
S
,
H
>::
timed_sync_send_tuple
(
message_priority
mp
,
const
actor
&
dest
,
const
duration
&
rtime
,
message
msg
)
{
return
timed_sync_send
(
mp
,
dest
,
rtime
,
std
::
move
(
msg
));
}
template
<
class
B
,
class
S
,
class
H
>
typename
sync_sender_impl
<
B
,
S
,
H
>::
response_handle_type
sync_sender_impl
<
B
,
S
,
H
>::
timed_sync_send_tuple
(
const
actor
&
dest
,
const
duration
&
rtime
,
message
msg
)
{
return
timed_sync_send
(
message_priority
::
normal
,
dest
,
rtime
,
std
::
move
(
msg
));
}
// </backward_compatibility>
}
// namespace mixin
}
// namespace caf
...
...
libcaf_core/caf/send.hpp
View file @
c5ad7e7d
...
...
@@ -136,37 +136,6 @@ void anon_send_exit(const ActorHandle& to, uint32_t reason) {
anon_send_exit
(
to
.
address
(),
reason
);
}
// <backward_compatibility version="0.9">
inline
void
send_tuple_as
(
const
actor
&
from
,
const
channel
&
to
,
message
msg
)
CAF_DEPRECATED
;
inline
void
send_tuple_as
(
const
actor
&
from
,
const
channel
&
to
,
message_priority
prio
,
message
msg
)
CAF_DEPRECATED
;
inline
void
anon_send_tuple
(
const
channel
&
to
,
message
msg
)
CAF_DEPRECATED
;
inline
void
anon_send_tuple
(
const
channel
&
to
,
message_priority
prio
,
message
msg
)
CAF_DEPRECATED
;
inline
void
send_tuple_as
(
const
actor
&
from
,
const
channel
&
to
,
message
msg
)
{
send_as
(
from
,
to
,
std
::
move
(
msg
));
}
inline
void
send_tuple_as
(
const
actor
&
from
,
const
channel
&
to
,
message_priority
prio
,
message
msg
)
{
send_as
(
from
,
prio
,
to
,
std
::
move
(
msg
));
}
inline
void
anon_send_tuple
(
const
channel
&
to
,
message
msg
)
{
send_as
(
invalid_actor
,
to
,
std
::
move
(
msg
));
}
inline
void
anon_send_tuple
(
const
channel
&
to
,
message_priority
prio
,
message
msg
)
{
send_as
(
invalid_actor
,
prio
,
to
,
std
::
move
(
msg
));
}
// </backward_compatibility>
}
// namespace caf
#endif // CAF_SEND_HPP
libcaf_io/caf/io/abstract_broker.hpp
View file @
c5ad7e7d
...
...
@@ -241,21 +241,6 @@ public:
/// Checks whether an acceptor for `handle` exists.
bool
valid
(
accept_handle
handle
);
// <backward_compatibility version="0.9">
static
constexpr
auto
at_least
=
receive_policy_flag
::
at_least
;
static
constexpr
auto
at_most
=
receive_policy_flag
::
at_most
;
static
constexpr
auto
exactly
=
receive_policy_flag
::
exactly
;
void
receive_policy
(
connection_handle
hdl
,
receive_policy_flag
flag
,
size_t
num_bytes
)
CAF_DEPRECATED
{
configure_read
(
hdl
,
receive_policy
::
config
{
flag
,
num_bytes
});
}
// </backward_compatibility>
protected:
abstract_broker
();
...
...
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