Beispiel #1
0
 public BiDirIIOPServiceContext(ListenPoint[] listenPoints) {
     listen_points = listenPoints;
 }
Beispiel #2
0
 private ListenPoint[] ConvertToListenPoints(object[] endPoints) {            
     int nrOfIiopPoints = 0;
     for (int i = 0; i < endPoints.Length; i++) {
         if (endPoints[i] is ListenPoint) {
             nrOfIiopPoints++;
         }
     }
     ListenPoint[] result = new ListenPoint[nrOfIiopPoints];
     int j = 0;
     for (int i = 0; i < endPoints.Length; i++) {
         if (endPoints[i] is ListenPoint) {
             result[j] = (ListenPoint)endPoints[i];
             j++;
         }
     }
     return result;
 }