Esempio n. 1
0
        /// <summary>
        /// Initialze the TFTP client. Set the state to be INIT
        /// </summary>
        public static TFTPClient InitializeTestAdapter()
        {
            TFTPClient newClient = new TFTPClient("127.0.0.1", 69);
            newClient.initialize();

            localFile = createLocalFilePath();
            return newClient;
        }
Esempio n. 2
0
        /// <summary>
        /// Initialze the TFTP client. Set the state to be INIT
        /// </summary>
        public static void initialize()
        {
            client.initialize();

            state = client.tftpClientMode;
        }