Mercurial > hg > RemoteEditor > REPSessionManager
view rep/Editor.java @ 21:2d4bab638a71
*** empty log message ***
author | pin |
---|---|
date | Thu, 08 Nov 2007 04:37:59 +0900 |
parents | 02fa9a68d9a2 |
children | 01657c033761 |
line wrap: on
line source
package rep; import java.nio.channels.SocketChannel; public class Editor { private int editorNo; private SocketChannel channel; private SocketChannel nextChannel; private String host; private String port; public Editor(int editorNo, SocketChannel channel){ this.editorNo = editorNo; this.channel = channel; } public SocketChannel getChannel() { return channel; } public void setHost(String host){ this.host = host; } public void setPort(String port){ this.port = port; } public String getHost(){ return host; } public String getPort(){ return port; } }