public final class Factory extends Object
| Modifier and Type | Method and Description |
|---|---|
Client |
createClient() |
Client |
createClient(int target_port) |
Client |
createClient(String target_host,
int target_port) |
Client |
createClient(String target_host,
int target_port,
int local_port) |
Server |
createServer() |
Server |
createServer(int target_port) |
public Factory(WorkLevel lvl)
public Client createClient() throws IllegalArgumentException
IllegalArgumentExceptionpublic Client createClient(int target_port) throws IllegalArgumentException
IllegalArgumentExceptionpublic Client createClient(String target_host, int target_port) throws IllegalArgumentException
IllegalArgumentExceptionpublic Client createClient(String target_host, int target_port, int local_port) throws IllegalArgumentException
IllegalArgumentExceptionpublic Server createServer(int target_port) throws IllegalArgumentException
IllegalArgumentExceptionpublic Server createServer() throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2021. All rights reserved.