예제 #1
0
 public static HayesModem Test2()
 {
     ModemVisitor u = new UnixModemConfigurator();
     HayesModem h = new HayesModem();
     h.accept(u);
     return h;
 }
예제 #2
0
        static public HayesModem Test2()
        {
            ModemVisitor u = new UnixModemConfigurator();
            HayesModem   h = new HayesModem();

            h.accept(u);
            return(h);
        }
예제 #3
0
 public static String Test()
 {
     ModemVisitor u = new UnixModemConfigurator();
     HayesModem h = new HayesModem();
     ErnieModem e = new ErnieModem();
     h.accept(u);
     e.accept(u);
     return h.configurationString+" "+e.internalPattern;
 }
예제 #4
0
        static public String Test()
        {
            ModemVisitor u = new UnixModemConfigurator();
            HayesModem   h = new HayesModem();
            ErnieModem   e = new ErnieModem();

            h.accept(u);
            e.accept(u);
            return(h.configurationString + " " + e.internalPattern);
        }