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 RMIClientSocketFactoryport - the port numberIOException - if an I/O error occurs during server socket
creationpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.