| 
 | " 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.client.ClientConnectionState
public class ClientConnectionState
Represents a state that the client is in
| Nested Class Summary | |
|---|---|
| static class | ClientConnectionState.ErrorRepresents that the client is in an error state | 
| static class | ClientConnectionState.ProtocolUnsuppotedByServerRepresents that a client received a message from the server indicating that the client's protocol revision is not supported by the server | 
| Field Summary | |
|---|---|
| static ClientConnectionState | CONNECTED_TO_SERVERindicates that the client is connected to the server but has not yet begun communication | 
| static ClientConnectionState | DISCONNECTED_FROM_SERVERindicates that the client is disconnected from the server | 
| static ClientConnectionState | IN_SYNC_WITH_SERVERrepresents that the client is now in sync with the server | 
| static ClientConnectionState | SENT_HELLO_TO_SERVERrepresents that the client has sent the hello to the server and is waiting for a response | 
| Constructor Summary | |
|---|---|
| protected  | ClientConnectionState(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 ClientConnectionState DISCONNECTED_FROM_SERVER
public static final ClientConnectionState CONNECTED_TO_SERVER
public static final ClientConnectionState SENT_HELLO_TO_SERVER
public static final ClientConnectionState IN_SYNC_WITH_SERVER
| Constructor Detail | 
|---|
protected ClientConnectionState(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 | |||||||||