Mercurial > hg > RemoteEditor > REPSessionManager
view test/sematest/PutTester.java @ 237:c52e0e831d91
*** empty log message ***
author | pin |
---|---|
date | Sun, 31 Aug 2008 19:33:23 +0900 |
parents | b837feb00132 |
children | 6b14a8142a78 |
line wrap: on
line source
package test.sematest; import java.util.LinkedList; import rep.REP; import rep.REPCommand; public class PutTester extends Tester { public PutTester(String name, String _host, int _port) { super(name, _host, _port); } public static void main(String[] args){ REPCommand command = new REPCommand(); command.setCMD(REP.SMCMD_PUT); command.setString("PutTest.txt"); LinkedList<REPCommand> commands = new LinkedList<REPCommand>(); commands.add(command); Tester tester = new PutTester("PutTester", "localhost", 8766); tester.setCommands(commands); tester.start(); } }