view rep/SelectButtonEvent.java @ 344:d07414ff79d3

*** empty log message ***
author kono
date Mon, 13 Oct 2008 16:56:39 +0900
parents 4fae49280699
children
line wrap: on
line source

package rep;

import java.io.IOException;

public class SelectButtonEvent implements SessionManagerEvent{

	private int sid;
	private Forwarder editor;

	public SelectButtonEvent(Forwarder editor, Session session) {
		this.editor = editor;
		this.sid = session.getSID();
	}

	public int getSID() {
		return sid;
	}

	public Forwarder getEditor() {
		return editor;
	}

	public void exec(SessionManager manager) {
		try {
			manager.selectSession(this);
		} catch (IOException e) {
		}
	}

}