Merge pull request #22396 from naferx/serialization-identifier

Update the maximum serializer identifier reserved for Akka
This commit is contained in:
Patrik Nordwall 2017-03-10 10:39:01 +01:00 committed by GitHub
commit 9d3fddc326
4 changed files with 7 additions and 7 deletions

View file

@ -25,7 +25,7 @@ package docs.serialization {
// Pick a unique identifier for your Serializer,
// you've got a couple of billions to choose from,
// 0 - 16 is reserved by Akka itself
// 0 - 40 is reserved by Akka itself
def identifier = 1234567
// "toBinary" serializes the given object to an Array of Bytes
@ -58,7 +58,7 @@ package docs.serialization {
// Pick a unique identifier for your Serializer,
// you've got a couple of billions to choose from,
// 0 - 16 is reserved by Akka itself
// 0 - 40 is reserved by Akka itself
def identifier = 1234567
// The manifest (type hint) that will be provided in the fromBinary method