view rep/EditorPlus.java @ 121:80ef604d09dc repcamp-2008-start

*** empty log message ***
author kono
date Tue, 26 Aug 2008 09:52:08 +0900
parents b774b87cc2c1
children 291c62984ba0
line wrap: on
line source

package rep;

import java.nio.channels.SocketChannel;

public class EditorPlus {

	private int eid;
	private SocketChannel channel;
	public EditorPlus(int eid, SocketChannel channel) {
		this.eid = eid;
		this.channel = channel;
	}
	public String toString(){
		return ("Editor:" + eid);
	}
	public int getEID(){
		return eid;
	}
	public SocketChannel getChannel(){
		return channel;
		
	}
}