The com.ibm.db2.jcc.DB2ClientRerouteServerList class implements the java.io.Serializable and javax.naming.Referenceable interfaces.
public int[] getAlternatePortNumber()
Retrieves the port numbers that are associated with the alternate servers.
public String[] getAlternateServerName()
Retrieves an array that contains the names of the alternate servers. These values are IP addresses or DNS server names.
public int getPrimaryPortNumber()
Retrieves the port number that is associated with the primary server.
public String[] getPrimaryServerName()
Retrieves the name of the primary server. This value is an IP address or a DNS server name.
public void setAlternatePortNumber(int[] alternatePortNumberList)
Sets the port numbers that are associated with the alternate servers.
public void setAlternateServerName(String[] alternateServer)
Sets the alternate server names for servers. These values are IP addresses or DNS server names.
public void setPrimaryPortNumber(int primaryPortNumber)
Sets the port number that is associated with the primary server.
public void setPrimaryServerName(String primaryServer)
Sets the primary server name for a server. This value is an IP address or a DNS server name.