예제 #1
0
 //Singleton implementation, checks if there is an instance and if not, creates one
 public static NetCons getInstance()
 {
     if (instance == null)
     {
         instance = new NetCons();
     }
     return(instance);
 }