|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.api.remote.impl.PortPoolSocketFactory
public class PortPoolSocketFactory
This wrapper class constructs a Socket using a port from a list of available ports.
Constructor Summary | |
---|---|
PortPoolSocketFactory(RMIServerSocketFactory orig)
Constructor specifying the real factory to use. |
Method Summary | |
---|---|
ServerSocket |
createServerSocket(int port)
Create a ServerSocket. |
boolean |
equals(Object obj)
(non-JavaDoc) |
int |
hashCode()
(non-JavaDoc) |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortPoolSocketFactory(RMIServerSocketFactory orig)
orig
- Factory to use.Method Detail |
---|
public ServerSocket createServerSocket(int port) throws IOException
createServerSocket
in interface RMIServerSocketFactory
port
- If 0, use a port number from the list of available ports.
IOException
RMIServerSocketFactory.createServerSocket(int)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |