public abstract class NTEntryType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
byte |
id
the id of a type
|
java.lang.String |
name
the name of a type
|
| Modifier | Constructor and Description |
|---|---|
protected |
NTEntryType(byte id,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
readValue(java.io.DataInputStream is)
read a value from a data input stream
|
abstract void |
sendValue(java.lang.Object value,
java.io.DataOutputStream os)
send a value over a data output stream
|
java.lang.String |
toString() |
public final byte id
public final java.lang.String name
public java.lang.String toString()
toString in class java.lang.Objectpublic abstract void sendValue(java.lang.Object value,
java.io.DataOutputStream os)
throws java.io.IOException
value - the value to sendos - the stream to send the value overjava.io.IOException - an error occurred writing the valuepublic abstract java.lang.Object readValue(java.io.DataInputStream is)
throws java.io.IOException
is - the stream to read a value fromjava.io.IOException - an error occurred reading the value