Skip to content

Commit

Permalink
=21423 deprecate ActorDSL
Browse files Browse the repository at this point in the history
  • Loading branch information
ktoso committed Dec 15, 2016
1 parent 881c646 commit d48ea5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions akka-actor/src/main/scala/akka/actor/ActorDSL.scala
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ import akka.util.Helpers.ConfigOps
* <b>Note:</b> If you want to use an `Act with Stash`, you should use the
* `ActWithStash` trait in order to have the actor get the necessary deque-based
* mailbox setting.
*
* @deprecated Use the normal `actorOf` methods defined on `ActorSystem` and `ActorContext` to create Actors instead.
*/
@deprecated("deprecated Use the normal `actorOf` methods defined on `ActorSystem` and `ActorContext` to create Actors instead.", since = "2.5.0")
object ActorDSL extends dsl.Inbox with dsl.Creators {

protected object Extension extends ExtensionId[Extension] with ExtensionIdProvider {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private[remote] class UdpServerHandler(_transport: NettyTransport, _associationL
extends ServerHandler(_transport, _associationListenerFuture) with UdpHandlers {

transport.system.log.warning("The netty.udp transport is deprecated, please use Artery instead. See: http://doc.akka.io/docs/akka/2.4/scala/remoting-artery.html")

override def initUdp(channel: Channel, remoteSocketAddress: SocketAddress, msg: ChannelBuffer): Unit =
initInbound(channel, remoteSocketAddress, msg)
}
Expand All @@ -70,7 +70,7 @@ private[remote] class UdpServerHandler(_transport: NettyTransport, _associationL
@deprecated("Deprecated in favour of Artery (the new Aeron/UDP based remoting implementation).", since = "2.5.0")
private[remote] class UdpClientHandler(_transport: NettyTransport, remoteAddress: Address)
extends ClientHandler(_transport, remoteAddress) with UdpHandlers {

transport.system.log.warning("The netty.udp transport is deprecated, please use Artery instead. See: http://doc.akka.io/docs/akka/2.4/scala/remoting-artery.html")

override def initUdp(channel: Channel, remoteSocketAddress: SocketAddress, msg: ChannelBuffer): Unit =
Expand Down

0 comments on commit d48ea5c

Please sign in to comment.