FileDocCategorySizeDatePackage
ASSocketServiceProxy.javaAPI DocGlassfish v2 API4589Tue May 29 01:54:24 BST 2007com.sun.enterprise.server.ss

ASSocketServiceProxy

public class ASSocketServiceProxy extends Object implements com.sun.enterprise.server.ss.spi.ASSocketServiceFacade
A Proxy that delegates to the actual ASSocketService class. This facade is introduced to separate the implementation and interfaces of the Quickstartup/ASLazyKernel related classes In the new classloader scheme, the actual implementation of the ASLazyKernel would lie in appserv-rt.jar, and the SystemClasspath would have the interfaces classes alone. [NIO specific AS-implementation interfaces would need to be in the system classpath as J2SE' NIO implmentation requires them to be there] Classes under the following packages are now placed under appserv-launch.jar com.sun.enterprise.server.ss.provider com.sun.enterprise.server.ss.util com.sun.enterprise.server.ss.spi
author
Sivakumar Thyagarajan, Binod PG

Fields Summary
Constructors Summary
Methods Summary
public voidclientSocketConnected(int port, int localPort)

        ASSocketService.clientSocketConnected(port, localPort);        
    
public booleanclose(int port, java.net.ServerSocket sock, java.nio.channels.ServerSocketChannel channel)

        return ASSocketService.close(port, sock, channel);
    
public booleanexists(int port)

        return ASSocketService.exists(port);
    
public java.net.ServerSocketgetServerSocket(int port)

        return ASSocketService.getServerSocket(port);
    
public java.nio.channels.ServerSocketChannelgetServerSocketChannel(int port)

        return ASSocketService.getServerSocketChannel(port);
    
public booleanisLocalClient(java.net.InetAddress ia)

        return ASSocketService.isLocalClient(ia);
    
public booleanisLocalClient(java.net.Socket s)

        return ASSocketService.isLocalClient(s);
    
public booleanisServerStartingUp(int port)

        return ASSocketService.isServerStartingUp(port);
    
public voidremoveListeningSelector(int port)

        ASSocketService.removeListeningSelector(port);
    
public booleansocketServiceNotified(int port)

        return ASSocketService.socketServiceNotified(port);
    
public voidwaitOnAccept(java.net.Socket s)

        ASSocketService.waitOnAccept(s);
    
public voidwaitOnAccept(java.nio.channels.SocketChannel sc)

        ASSocketService.waitOnAccept(sc);
    
public voidwaitOnClientConnection(int port)

        ASSocketService.waitOnClientConnection(port);