public class StandardSocketFactory extends Object implements ISocketFactory
| Constructor and Description |
|---|
StandardSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createClientSocket()
Creates a new client socket and returns it
|
ServerSocket |
createServerSocket()
Creates a new server socket and returns it
|
public StandardSocketFactory()
public Socket createClientSocket()
ISocketFactorycreateClientSocket in interface ISocketFactorypublic ServerSocket createServerSocket() throws IOException
ISocketFactorycreateServerSocket in interface ISocketFactoryIOExceptionCopyright © 2012–2017 University Health Network. All rights reserved.