edu.wpi.first.wpilibj.networktables2.client
Class ClientConnectionState

java.lang.Object
  extended by edu.wpi.first.wpilibj.networktables2.client.ClientConnectionState
Direct Known Subclasses:
ClientConnectionState.Error, ClientConnectionState.ProtocolUnsuppotedByServer

public class ClientConnectionState
extends Object

Represents a state that the client is in

Author:
Mitchell

Nested Class Summary
static class ClientConnectionState.Error
          Represents that the client is in an error state
static class ClientConnectionState.ProtocolUnsuppotedByServer
          Represents 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_SERVER
          indicates that the client is connected to the server but has not yet begun communication
static ClientConnectionState DISCONNECTED_FROM_SERVER
          indicates that the client is disconnected from the server
static ClientConnectionState IN_SYNC_WITH_SERVER
          represents that the client is now in sync with the server
static ClientConnectionState SENT_HELLO_TO_SERVER
          represents 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DISCONNECTED_FROM_SERVER

public static final ClientConnectionState DISCONNECTED_FROM_SERVER
indicates that the client is disconnected from the server


CONNECTED_TO_SERVER

public static final ClientConnectionState CONNECTED_TO_SERVER
indicates that the client is connected to the server but has not yet begun communication


SENT_HELLO_TO_SERVER

public static final ClientConnectionState SENT_HELLO_TO_SERVER
represents that the client has sent the hello to the server and is waiting for a response


IN_SYNC_WITH_SERVER

public static final ClientConnectionState IN_SYNC_WITH_SERVER
represents that the client is now in sync with the server

Constructor Detail

ClientConnectionState

protected ClientConnectionState(String name)
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All rights reserved.