Пример #1
0
 /// <summary>
 /// Set a route with two given service ids
 /// </summary>
 /// <param name="serviceId0">The first service Id</param>
 /// <param name="ra0">Routing algorithm for serviceId0. It is default to raDefault</param>
 /// <param name="serviceId1">The second service id</param>
 /// <param name="ra1">Routing algorithm for serviceId1. It is default to raDefault</param>
 /// <returns>True if successful; and false if failed</returns>
 /// <remarks>If any one of the two given service ids does not exist, the route is broken</remarks>
 public static bool SetRouting(uint serviceId0, tagRoutingAlgorithm ra0, uint serviceId1, tagRoutingAlgorithm ra1)
 {
     return(ServerCoreLoader.SetRouting(serviceId0, ra0, serviceId1, ra1));
 }
Пример #2
0
 internal static extern bool SetRouting(uint serviceId0, tagRoutingAlgorithm ra0, uint serviceId1, tagRoutingAlgorithm ra1);
Пример #3
0
 internal static extern bool SetRouting(uint serviceId0, tagRoutingAlgorithm ra0, uint serviceId1, tagRoutingAlgorithm ra1);