1 23 24 package com.sun.enterprise.server.ss.spi; 25 26 import java.io.IOException ; 27 import java.net.ServerSocket ; 28 import java.net.Socket ; 29 import java.nio.channels.ServerSocketChannel ; 30 import java.nio.channels.SocketChannel ; 31 32 35 public interface ASSocketServiceFacade { 36 public void clientSocketConnected(Socket s); 37 public boolean isServerStartingUp(int port); 38 public boolean close(int port, ServerSocket sock, 39 ServerSocketChannel channel) throws IOException ; 40 public void waitOnAccept(Socket s); 41 public boolean isLocalClient(Socket s); 42 public boolean exists(int port); 43 public void removeListeningSelector(int port); 44 public void waitOnAccept(SocketChannel sc); 45 public ServerSocketChannel getServerSocketChannel(int port); 46 public ServerSocket getServerSocket(int port); 47 public boolean socketServiceNotified(int port); 48 public void waitOnClientConnection(Socket s); 49 } 50 | Popular Tags |