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

java.lang.Object
  extended by edu.wpi.first.wpilibj.networktables2.client.ClientConnectionState
      extended by edu.wpi.first.wpilibj.networktables2.client.ClientConnectionState.ProtocolUnsuppotedByServer
Enclosing class:
ClientConnectionState

public static class ClientConnectionState.ProtocolUnsuppotedByServer
extends ClientConnectionState

Represents that a client received a message from the server indicating that the client's protocol revision is not supported by the server

Author:
Mitchell

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj.networktables2.client.ClientConnectionState
ClientConnectionState.Error, ClientConnectionState.ProtocolUnsuppotedByServer
 
Field Summary
 
Fields inherited from class edu.wpi.first.wpilibj.networktables2.client.ClientConnectionState
CONNECTED_TO_SERVER, DISCONNECTED_FROM_SERVER, IN_SYNC_WITH_SERVER, SENT_HELLO_TO_SERVER
 
Constructor Summary
ClientConnectionState.ProtocolUnsuppotedByServer(char serverVersion)
          Create a new protocol unsupported state
 
Method Summary
 char getServerVersion()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientConnectionState.ProtocolUnsuppotedByServer

public ClientConnectionState.ProtocolUnsuppotedByServer(char serverVersion)
Create a new protocol unsupported state

Parameters:
serverVersion -
Method Detail

getServerVersion

public char getServerVersion()
Returns:
the protocol version that the server reported it supports

toString

public String toString()
Overrides:
toString in class ClientConnectionState


Copyright © 2013. All rights reserved.