Ejemplo n.º 1
0
 /// <summary>
 /// Serializes the given object into a byte array and uses the given address to decorate serialized ActorRef's
 /// </summary>
 /// <param name="address">The address to use when serializing local ActorRef´s</param>
 /// <param name="obj">The object to serialize</param>
 /// <returns>TBD</returns>
 public byte[] ToBinaryWithAddress(Address address, object obj)
 {
     return(Serialization.SerializeWithTransport(system, address, () => ToBinary(obj)));
 }