view rep/EditorPlus.java @ 31:593f915dd6ff JOINandPUT

for JOIN and PUT Testing
author pin
date Sat, 10 Nov 2007 12:52:24 +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;
		
	}
}