Msc (Lab1)

Class Msc

java.lang.Object
  |
  +--Msc

public class Msc
extends Object

Mobile Switching Center

Version:
1.0 (2002)
Author:
CPwJ

Constructor Summary
Msc()
           
 
Method Summary
 void addRbs(Rbs station)
          Register an Rbs into Msc
 Rbs findRbs(double x, double y)
          Find an Rbs that covers a point of access
 Rbs findRbs(String id)
          Find an Rbs with an Identification string
static void setNeighboring(Rbs station1, Rbs station2)
          Set two Rbs as neighbors
static void showNeighbors(Rbs station)
          List all the neighbors of an Rbs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Msc

public Msc()
Method Detail

addRbs

public void addRbs(Rbs station)
Register an Rbs into Msc


findRbs

public Rbs findRbs(double x,
                   double y)
Find an Rbs that covers a point of access

Parameters:
x - the point of access coordinate
y - the point of access coordinate

findRbs

public Rbs findRbs(String id)
Find an Rbs with an Identification string

Parameters:
id - the Identification String

setNeighboring

public static void setNeighboring(Rbs station1,
                                  Rbs station2)
Set two Rbs as neighbors


showNeighbors

public static void showNeighbors(Rbs station)
List all the neighbors of an Rbs



Generated by BlueJ