Exemplo n.º 1
0
 public ISurrogated FromSurrogate(ActorSystem system)
 {
     return(SerializationTools.ToSinkRefImpl((ExtendedActorSystem)system, EventType, OriginPath));
 }
Exemplo n.º 2
0
 private ByteString SerializeSourceRef(SourceRefImpl sourceRef) =>
 SerializationTools.ToSourceRef(sourceRef).ToByteString();
Exemplo n.º 3
0
 public ISurrogated FromSurrogate(ActorSystem system) =>
 SerializationTools.ToSourceRefImpl((ExtendedActorSystem)system, EventType, OriginPath);
Exemplo n.º 4
0
        private SourceRefImpl DeserializeSourceRef(byte[] bytes)
        {
            var sourceRef = SourceRef.Parser.ParseFrom(bytes);

            return(SerializationTools.ToSourceRefImpl(_system, sourceRef.EventType.TypeName, sourceRef.OriginRef.Path));
        }