public class TelnetStateThing extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
tsDOWN |
static int |
tsINITING |
static int |
tsNONE |
static int |
tsRUN |
static int |
tsSHUT |
| Constructor and Description |
|---|
TelnetStateThing() |
| Modifier and Type | Method and Description |
|---|---|
int |
getState()
Returns the server's state.
|
String |
getStateString() |
boolean |
inState(int st)
Returns T if the server is in a given state.
|
void |
setState(int st)
Sets the server's state,
|
public static final int tsNONE
public static final int tsRUN
public static final int tsSHUT
public static final int tsDOWN
public static final int tsINITING
public boolean inState(int st)
public void setState(int st)
public int getState()
public String getStateString()
Copyright © 2017 etc.to. All rights reserved.