Mercurial > hg > Members > you > TreeVNC
changeset 23:bf3d71746605
add MyRfbProto.java
author | Yu Taninari <you@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 20 Jan 2012 16:09:55 +0900 |
parents | 24112133a0d9 |
children | b5c446990c0a |
files | src/treeVnc/MyRfbProto.java |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/treeVnc/MyRfbProto.java Fri Jan 20 16:09:55 2012 +0900 @@ -0,0 +1,15 @@ +package treeVnc; + +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.net.Socket; + +public interface MyRfbProto { + + public void selectPort(int port); + + public Socket accept() throws IOException; + + public void newClient(AcceptThread acceptThread, Socket newCli, OutputStream os, InputStream is) throws IOException; +}