public class ListServers
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Class and Description |
---|---|
class |
ListServers.ServerInfo
Info returned about each server.
|
Constructor and Description |
---|
ListServers() |
Modifier and Type | Method and Description |
---|---|
static ListServers.ServerInfo[] |
getServers(int wait)
Return all servers on the network.
|
static void |
main(java.lang.String[] args)
List out all Windward Reports servers running.
|
void |
run() |
public static ListServers.ServerInfo[] getServers(int wait) throws java.io.IOException, java.lang.InterruptedException
wait
- The amount of time to wait for a response - passed to Thread.sleep. Suggest at least a value of
2000 (2 seconds).java.io.IOException
java.lang.InterruptedException
public void run()
run
in interface java.lang.Runnable
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- -pport_num (optional - default is -p1707). Pass /? or -? for help.java.lang.Exception
Copyright © 2002-2021 Windward Studios, LLC. - All Rights Reserved. We are Java document generation software