view rep/REPActionEvent.java @ 128:5feb0abed370

*** empty log message ***
author kono
date Wed, 27 Aug 2008 18:03:28 +0900
parents b0179c726bd8
children e8f716498caf
line wrap: on
line source

package rep;

import java.nio.channels.SocketChannel;

import rep.channel.REPSocketChannel;

public class REPActionEvent<P> {

	private REPSocketChannel<P> editorChannel;
	private int sid;
	private int eid;

	public REPActionEvent(EditorPlus<P> plus, SessionPlus<P> plus2) {
		this.editorChannel = plus.getChannel();
		this.eid = plus.getEID();
		this.sid = plus2.getSID();
	}

	public REPSocketChannel<P> getEditorChannel() {
		return editorChannel;
	}

	public int getSID() {
		return sid;
	}

	public int getEID() {
		return eid;
	}

}