view rep/gui/ConnectButtonEvent.java @ 471:d2762d669617

sleep command to wait for singleton prevention
author one
date Tue, 12 Oct 2010 10:19:59 +0900
parents 4b87f89b3afd
children
line wrap: on
line source

package rep.gui;

import rep.SessionManager;

public class ConnectButtonEvent implements SessionManagerEvent{

	private String host;

	public ConnectButtonEvent(String host) {
		this.host = host;
	}

	public String getHost() {
		return host;
	}

	public void exec(SessionManager manager) {
		manager.connectSessionManager(host);
	}

}