public class PyroSelector extends Object
| Constructor and Description |
|---|
PyroSelector() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkThread() |
void |
close() |
PyroClient |
connect(InetSocketAddress host) |
PyroClient |
connect(InetSocketAddress host,
InetSocketAddress bind) |
Thread |
networkThread() |
void |
scheduleTask(Runnable task) |
void |
select() |
void |
select(long eventTimeout) |
void |
spawnNetworkThread(String name) |
void |
wakeup() |
public final Thread networkThread()
public final void checkThread()
public PyroClient connect(InetSocketAddress host) throws IOException
IOExceptionpublic PyroClient connect(InetSocketAddress host, InetSocketAddress bind) throws IOException
IOExceptionpublic void select()
public void select(long eventTimeout)
public void spawnNetworkThread(String name)
public void scheduleTask(Runnable task)
public void wakeup()
public void close()
throws IOException
IOExceptionCopyright © 2017. All rights reserved.