view rep/ConnectionEvent.java @ 191:dbf59f82273e

*** empty log message ***
author pin
date Fri, 29 Aug 2008 18:52:36 +0900
parents a097b1d619a1
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);
	}

}