view rep/ConnectionEvent.java @ 178:a097b1d619a1

*** empty log message ***
author pin
date Thu, 28 Aug 2008 22:04:48 +0900
parents 02fa9a68d9a2
children
line wrap: on
line source

package rep;

public class ConnectionEvent implements SessionManagerEvent{

	private String host;
	private SessionManager manager;

	public ConnectionEvent(SessionManager manager, String host) {
		this.manager = manager;
		this.host = host;
	}

	public String getHost() {
		return host;
	}

	public void exec() {
		manager.connectSession(host);
	}

}