public final class FtBasic extends Object implements Front
The class is immutable and thread-safe.
Constructor and Description |
---|
FtBasic(Back bck,
int port)
Ctor.
|
FtBasic(Back bck,
ServerSocket skt)
Ctor.
|
FtBasic(Take tks)
Ctor.
|
FtBasic(Take tks,
int prt)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
start(Exit exit)
Start and dispatch all incoming sockets.
|
public FtBasic(Take tks) throws IOException
tks
- TakeIOException
- If failspublic FtBasic(Take tks, int prt) throws IOException
tks
- Takeprt
- PortIOException
- If failspublic FtBasic(Back bck, int port) throws IOException
bck
- Backport
- PortIOException
- If failspublic FtBasic(Back bck, ServerSocket skt)
bck
- Backskt
- Server socketpublic void start(Exit exit) throws IOException
Front
start
in interface Front
exit
- When to exitIOException
- If failsCopyright © 2015–2018 Take. All rights reserved.