view rep/REPActionEvent.java @ 200:2f0a0448de6b

*** empty log message ***
author pin
date Sat, 30 Aug 2008 10:50:14 +0900
parents 5feb0abed370
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;
	}

}