edu.wpi.first.wpilibj.networktables2.server
Class ServerConnectionState

java.lang.Object
  extended by edu.wpi.first.wpilibj.networktables2.server.ServerConnectionState
Direct Known Subclasses:
ServerConnectionState.Error

public class ServerConnectionState
extends Object

Represents the state of a connection to the server

Author:
Mitchell

Nested Class Summary
static class ServerConnectionState.Error
          Represents that the client is in an error state
 
Field Summary
static ServerConnectionState CLIENT_DISCONNECTED
          represents that the client has disconnected from the server
static ServerConnectionState CONNECTED_TO_CLIENT
          represents that the client is in a connected non-error state
static ServerConnectionState GOT_CONNECTION_FROM_CLIENT
          represents 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GOT_CONNECTION_FROM_CLIENT

public static final ServerConnectionState GOT_CONNECTION_FROM_CLIENT
represents that the server has received the connection from the client but has not yet received the client hello


CONNECTED_TO_CLIENT

public static final ServerConnectionState CONNECTED_TO_CLIENT
represents that the client is in a connected non-error state


CLIENT_DISCONNECTED

public static final ServerConnectionState CLIENT_DISCONNECTED
represents that the client has disconnected from the server

Constructor Detail

ServerConnectionState

protected ServerConnectionState(String name)
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All rights reserved.