Putting the Netty-stuff in akka.remote.netty and disposing of RemoteClient and RemoteServer

This commit is contained in:
Viktor Klang 2011-01-03 12:42:30 +01:00
parent 8e522f4a03
commit a61e591b2a
13 changed files with 144 additions and 130 deletions

View file

@ -5,7 +5,6 @@
package akka.serialization
import akka.dispatch.MessageInvocation
import akka.remote.{RemoteServer, RemoteClient, MessageSerializer}
import akka.remote.protocol.RemoteProtocol.{ActorType => ActorTypeProtocol, _}
import ActorTypeProtocol._
@ -18,6 +17,7 @@ import scala.collection.immutable.Stack
import com.google.protobuf.ByteString
import akka.util.ReflectiveAccess
import java.net.InetSocketAddress
import akka.remote. {RemoteClientSettings, MessageSerializer}
/**
* Type class definition for Actor Serialization
@ -140,7 +140,7 @@ object ActorSerialization {
actorRef.getSender,
None,
ActorType.ScalaActor,
RemoteClient.SECURE_COOKIE).build)
RemoteClientSettings.SECURE_COOKIE).build)
requestProtocols.foreach(rp => builder.addMessages(rp))
}