view test/sematest/PutTester.java @ 242:6b14a8142a78

*** empty log message ***
author pin
date Sun, 31 Aug 2008 20:42:26 +0900
parents c52e0e831d91
children
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);
		REPCommand command = new REPCommand();
		command.setCMD(REP.SMCMD_PUT);
		command.setString("PutTest.txt");
		LinkedList<REPCommand> commands = new LinkedList<REPCommand>();
		commands.add(command);
		setCommands(commands);
	}
	
	public static void main(String[] args){
		Tester tester = new PutTester("PutTester", "localhost", 8766);
		tester.start();
	}

}