public class ServerConnectionIdentifier extends Object
Constructor and Description |
---|
ServerConnectionIdentifier()
Creates a new instance of ServerConnectionIdentifier
|
ServerConnectionIdentifier(String hostName,
int hostPort,
String userName,
String password,
boolean secure) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
ServerConnectionEnvironment |
getConnectionEnvironment() |
String |
getHostName()
Getter for property hostName.
|
int |
getHostPort()
Getter for property hostPort.
|
String |
getPassword()
Getter for property password.
|
String |
getProtocol()
Getter for property protocol.
|
String |
getUserName()
Getter for property userName.
|
int |
hashCode() |
boolean |
isSecure() |
void |
setConnectionEnvironment(ServerConnectionEnvironment env) |
void |
setHostName(String hostName)
Setter for property hostName.
|
void |
setHostPort(int hostPort)
Setter for property hostPort.
|
void |
setPassword(String password)
Setter for property password.
|
void |
setSecure(boolean secure) |
void |
setUserName(String userName)
Setter for property userName.
|
String |
toString() |
public ServerConnectionIdentifier()
public String getHostName()
public void setHostName(String hostName)
hostName
- New value of property hostName.public int getHostPort()
public void setHostPort(int hostPort)
hostPort
- New value of property hostPort.public String getUserName()
public void setUserName(String userName)
userName
- New value of property userName.public String getPassword()
public void setPassword(String password)
password
- New value of property password.public void setSecure(boolean secure)
public boolean isSecure()
public ServerConnectionEnvironment getConnectionEnvironment()
public void setConnectionEnvironment(ServerConnectionEnvironment env)
public String getProtocol()
public boolean equals(Object other)
Copyright © 2020. All rights reserved.