|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wpi.first.wpilibj.networktables2.type.NetworkTableEntryType
public abstract class NetworkTableEntryType
A class defining the types supported by NetworkTables as well as support for serialization of those types to and from DataStreams
| Field Summary | |
|---|---|
byte |
id
the id of a type |
String |
name
the name of a type |
| Constructor Summary | |
|---|---|
protected |
NetworkTableEntryType(byte id,
String name)
|
| Method Summary | |
|---|---|
abstract Object |
readValue(DataInputStream is)
read a value from a data input stream |
abstract void |
sendValue(Object value,
DataOutputStream os)
send a value over a data output stream |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final byte id
public final String name
| Constructor Detail |
|---|
protected NetworkTableEntryType(byte id,
String name)
| Method Detail |
|---|
public String toString()
toString in class Object
public abstract void sendValue(Object value,
DataOutputStream os)
throws IOException
value - the value to sendos - the stream to send the value over
IOException - an error occurred writing the value
public abstract Object readValue(DataInputStream is)
throws IOException
is - the stream to read a value from
IOException - an error occurred reading the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||