public class Server extends Object implements ParseOutput
Modifier and Type | Class and Description |
---|---|
static class |
Server.Type |
Constructor and Description |
---|
Server()
The constructor to instantiate the server object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getActiveStatus()
Get the server's active Status
|
Server.Type |
getConnectionType()
Get the type of the connection to the server.
|
int |
getPort()
Get the server's port.
|
String |
getServerID()
The server id that's defined in the configuration file.
|
String |
getServerName()
The server name, as defined in the xml.
|
void |
process(XMLParser parser,
String name,
Vector elems,
Hashtable atts,
String Pcdata)
This method is an implementation of the interface and must be called only
by the
XMLParser object. |
String |
toString()
Some toString functions for dump purposes.
|
public Server()
public int getPort()
public String getServerName()
public Server.Type getConnectionType()
public String getServerID()
public void process(XMLParser parser, String name, Vector elems, Hashtable atts, String Pcdata) throws XMLException
XMLParser
object. This is my final plea. I'm a
process not process which can load information from xml file for you. So
stop calling me.process
in interface ParseOutput
name
- the name of this node.elems
- contains all the sub-nodes.atts
- contains the attributes value of this nodePcdata
- contains text value of this nodeXMLException
ParseOutput
public boolean getActiveStatus()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.