com.sun.jini.discovery.internal
Class EndpointBasedServer.PrearrangedServerSocketFactory
java.lang.Object
javax.net.ServerSocketFactory
com.sun.jini.discovery.internal.EndpointBasedServer.PrearrangedServerSocketFactory
- Enclosing class:
- EndpointBasedServer
private static class EndpointBasedServer.PrearrangedServerSocketFactory
- extends ServerSocketFactory
Server socket factory that returns a PrearrangedServerSocket for a
prearranged socket.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ssocket
private final ServerSocket ssocket
EndpointBasedServer.PrearrangedServerSocketFactory
EndpointBasedServer.PrearrangedServerSocketFactory(Socket socket)
throws IOException
- Throws:
IOException
createServerSocket
public ServerSocket createServerSocket()
throws IOException
- Overrides:
createServerSocket
in class ServerSocketFactory
- Throws:
IOException
createServerSocket
public ServerSocket createServerSocket(int port)
throws IOException
- Specified by:
createServerSocket
in class ServerSocketFactory
- Throws:
IOException
createServerSocket
public ServerSocket createServerSocket(int port,
int backlog)
throws IOException
- Specified by:
createServerSocket
in class ServerSocketFactory
- Throws:
IOException
createServerSocket
public ServerSocket createServerSocket(int port,
int backlog,
InetAddress addr)
throws IOException
- Specified by:
createServerSocket
in class ServerSocketFactory
- Throws:
IOException
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.