view test/sematest/JoinTester.java @ 229:f816e0cbe6fd

*** empty log message ***
author pin
date Sun, 31 Aug 2008 17:08:55 +0900
parents 827c439d0da4
children b837feb00132
line wrap: on
line source

package test.sematest;

import java.util.LinkedList;

import rep.REP;
import rep.REPCommand;

public class JoinTester extends Tester {

	public JoinTester(String name, String _host, int _port) {
		super(name, _host, _port);
	}

	public static void main(String[] args){
		
		REPCommand command = new REPCommand();
		command.setCMD(REP.SMCMD_JOIN);
		LinkedList<REPCommand> commandList = new LinkedList<REPCommand>();
		commandList.add(command);
		
		Tester tester = new JoinTester("JoinTester", "localhost", 8766);
		tester.setCommands(commandList);
		tester.start();
	}

}