| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wpi.first.wpilibj.networktables2.server.ServerConnectionState
public class ServerConnectionState
Represents the state of a connection to the server
| Nested Class Summary | |
|---|---|
| static class | ServerConnectionState.ErrorRepresents that the client is in an error state | 
| Field Summary | |
|---|---|
| static ServerConnectionState | CLIENT_DISCONNECTEDrepresents that the client has disconnected from the server | 
| static ServerConnectionState | CONNECTED_TO_CLIENTrepresents that the client is in a connected non-error state | 
| static ServerConnectionState | GOT_CONNECTION_FROM_CLIENTrepresents that the server has received the connection from the client but has not yet received the client hello | 
| Constructor Summary | |
|---|---|
| protected  | ServerConnectionState(String name) | 
| Method Summary | |
|---|---|
|  String | toString()Returns a string representation of the object. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final ServerConnectionState GOT_CONNECTION_FROM_CLIENT
public static final ServerConnectionState CONNECTED_TO_CLIENT
public static final ServerConnectionState CLIENT_DISCONNECTED
| Constructor Detail | 
|---|
protected ServerConnectionState(String name)
| Method Detail | 
|---|
public String toString()
ObjecttoString method returns a string that
 "textually represents" this object. The result should
 be a concise but informative representation that is easy for a
 person to read.
 It is recommended that all subclasses override this method.
 
 The toString method for class Object
 returns a string consisting of the name of the class of which the
 object is an instance, the at-sign character `@', and
 the unsigned hexadecimal representation of the hash code of the
 object. In other words, this method returns a string equal to the
 value of:
 
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString in class Object| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||