InetSocketAddress pool context where socket addresses (end-points) are retrieved from and where information about end-points are posted to. More...
Public Member Functions | |
abstract InetSocketAddress | getNextSocketAddress () |
Gets next socket address from the context. | |
abstract void | onPortConnected (long threadId, InetSocketAddress addr, boolean ok, String error, int timeMillis) |
Reports information that worker thread has found about socket address (end-point) | |
abstract void | workerThreadSignIn (long threadId) |
Worker thread reports it is alive. | |
abstract void | workerThreadSignOut (long threadId) |
Worker thread reports it is dead. |
InetSocketAddress pool context where socket addresses (end-points) are retrieved from and where information about end-points are posted to.
Definition at line 18 of file PortConnect.java.
abstract InetSocketAddress PortConnect.Context.getNextSocketAddress | ( | ) | [pure virtual] |
Gets next socket address from the context.
Implemented in PortScanner.
Referenced by PortConnect.run().
abstract void PortConnect.Context.onPortConnected | ( | long | threadId, |
InetSocketAddress | addr, | ||
boolean | ok, | ||
String | error, | ||
int | timeMillis | ||
) | [pure virtual] |
Reports information that worker thread has found about socket address (end-point)
Implemented in PortScanner.
Referenced by PortConnect.reportConnectionStatus().
abstract void PortConnect.Context.workerThreadSignIn | ( | long | threadId ) | [pure virtual] |
abstract void PortConnect.Context.workerThreadSignOut | ( | long | threadId ) | [pure virtual] |