public class ServerNameList extends Object
Modifier and Type | Field and Description |
---|---|
protected Vector |
serverNameList |
Constructor and Description |
---|
ServerNameList(Vector serverNameList) |
Modifier and Type | Method and Description |
---|---|
void |
encode(OutputStream output)
Encode this
ServerNameList to an OutputStream . |
Vector |
getServerNameList() |
static ServerNameList |
parse(InputStream input)
Parse a
ServerNameList from an InputStream . |
protected Vector serverNameList
public ServerNameList(Vector serverNameList)
serverNameList
- a Vector
of ServerName
.public Vector getServerNameList()
Vector
of ServerName
.public void encode(OutputStream output) throws IOException
ServerNameList
to an OutputStream
.output
- the OutputStream
to encode to.IOException
public static ServerNameList parse(InputStream input) throws IOException
ServerNameList
from an InputStream
.input
- the InputStream
to parse from.ServerNameList
object.IOException