public class ServerName
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
name
Deprecated.
|
protected short |
nameType
Deprecated.
|
| Constructor and Description |
|---|
ServerName(short nameType,
java.lang.Object name)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(java.io.OutputStream output)
Deprecated.
Encode this
ServerName to an OutputStream. |
java.lang.String |
getHostName()
Deprecated.
|
java.lang.Object |
getName()
Deprecated.
|
short |
getNameType()
Deprecated.
|
protected static boolean |
isCorrectType(short nameType,
java.lang.Object name)
Deprecated.
|
static ServerName |
parse(java.io.InputStream input)
Deprecated.
Parse a
ServerName from an InputStream. |
protected short nameType
protected java.lang.Object name
public short getNameType()
public java.lang.Object getName()
public java.lang.String getHostName()
public void encode(java.io.OutputStream output)
throws java.io.IOException
ServerName to an OutputStream.output - the OutputStream to encode to.java.io.IOExceptionpublic static ServerName parse(java.io.InputStream input) throws java.io.IOException
ServerName from an InputStream.input - the InputStream to parse from.ServerName object.java.io.IOExceptionprotected static boolean isCorrectType(short nameType,
java.lang.Object name)