# HG changeset patch # User Yu Taninari # Date 1327043395 -32400 # Node ID bf3d7174660502db24a7e273fdccff3c2b1aea62 # Parent 24112133a0d9c90f0a8d31bae4ffc6d23d19f85e add MyRfbProto.java diff -r 24112133a0d9 -r bf3d71746605 src/treeVnc/MyRfbProto.java --- /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; +}