Protobuf deep actor serialization working and test passing
This commit is contained in:
parent
5397e81ac5
commit
916cfe97c0
3 changed files with 1163 additions and 1164 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -32,8 +32,8 @@ message SerializedActorRefProtocol {
|
|||
required string id = 2;
|
||||
required string actorClassname = 3;
|
||||
required bytes actorInstance = 4;
|
||||
required string serializerClassname = 5;
|
||||
required AddressProtocol originalAddress = 6;
|
||||
required AddressProtocol originalAddress = 5;
|
||||
optional string serializerClassname = 6;
|
||||
optional bool isTransactor = 7;
|
||||
optional uint64 timeout = 8;
|
||||
optional LifeCycleProtocol lifeCycle = 9;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ class SerializableActorSpec extends
|
|||
(actor2 !! "hello").getOrElse("_") should equal("world 2")
|
||||
}
|
||||
|
||||
/*
|
||||
it("should be able to serialize and deserialize a ProtobufSerializableActor") {
|
||||
val actor1 = actorOf[ProtobufSerializableTestActor].start
|
||||
(actor1 !! "hello").getOrElse("_") should equal("world 1")
|
||||
|
|
@ -42,6 +41,7 @@ class SerializableActorSpec extends
|
|||
(actor2 !! "hello").getOrElse("_") should equal("world 3")
|
||||
}
|
||||
|
||||
/*
|
||||
it("should be able to serialize and deserialize a JavaJSONSerializableActor") {
|
||||
val actor1 = actorOf[JavaJSONSerializableTestActor].start
|
||||
val serializer = actor1.serializer.getOrElse(fail("Serializer not defined"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue