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

            h.accept(u);
            return(h);
        }
Beispiel #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;
 }
Beispiel #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);
        }