internal RemoteAddress(string host, int port, Aid actorId) { host = host?.Trim() ?? String.Empty; if (host == null) { throw new ArgumentNullException(nameof(host)); } _endPoint = new RemoteEndPoint(host, port); _actor = actorId ?? throw new ArgumentNullException(nameof(actorId)); }
internal RemoteAddress(string host, int port, string actorSystem, string actor) { host = host?.Trim() ?? String.Empty; if (host == null) { throw new ArgumentNullException(nameof(host)); } _endPoint = new RemoteEndPoint(host, port); _actor = new Aid(actorSystem, actor); }
public ActorOptions UsingRemoteEndPoint(IPEndPoint endPoint) { _endPoint = (endPoint == null) ? null : new RemoteEndPoint(endPoint.Address.ToString(), endPoint.Port); return(this); }
public ActorOptions UsingRemoteEndPoint(RemoteEndPoint endPoint) { _endPoint = endPoint; return(this); }
public ActorOptions UsingRemoteEndPoint(string host, int port) { _endPoint = new RemoteEndPoint(host, port); return(this); }
internal RemoteAddress(RemoteEndPoint endPoint, Aid actorId) { _endPoint = endPoint ?? throw new ArgumentNullException(nameof(endPoint)); _actor = actorId ?? throw new ArgumentNullException(nameof(actorId)); }
internal RemoteAddress(RemoteEndPoint endPoint, string actorSystem, string actor) { _endPoint = endPoint ?? throw new ArgumentNullException(nameof(endPoint)); _actor = new Aid(actorSystem, actor); }