Пример #1
0
        private IPhysicalEndPoint <TAddress> GetMultiplexPhysicalEndPoint(EndPointAddress endPoint)
        {
            var result = _endPointMultiplexer.GetPhysicalEndPoint("end-points/" + endPoint.ToString()); // TODO: This should be configurable

            Assert(result != null);
            return(result);
        }
Пример #2
0
 private static CoordinationEntryPath GetReversePath(string session, EndPointAddress endPoint, Route route)
 {
     return(_reverseRoutesRootPath.GetChildPath(session, endPoint.ToString(), route.ToString()));
 }
Пример #3
0
        private static CoordinationEntryPath GetPath(Route route, EndPointAddress endPoint, string session)
        {
            var uniqueEntryName = IdGenerator.GenerateId(endPoint.ToString(), session);

            return(_routesRootPath.GetChildPath(route.ToString(), uniqueEntryName));
        }
Пример #4
0
 private static CoordinationEntryPath GetPath(EndPointAddress endPoint, string session)
 {
     return(_mapsRootPath.GetChildPath(endPoint.ToString(), session));
 }