public class QueuedClientSocketFactory extends Object implements RMIClientSocketFactory, Externalizable
Constructor and Description |
---|
QueuedClientSocketFactory() |
QueuedClientSocketFactory(long nPermits) |
Modifier and Type | Method and Description |
---|---|
Socket |
createSocket(String host,
int port)
Create a server socket on the specified port (port 0 indicates
an anonymous port).
|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public QueuedClientSocketFactory()
public QueuedClientSocketFactory(long nPermits)
public Socket createSocket(String host, int port) throws IOException
createSocket
in interface RMIClientSocketFactory
port
- the port numberIOException
- if an I/O error occurs during server socket
creationpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2018 JBoss by Red Hat. All rights reserved.