|
Remote System Explorer DataStore Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.dstore.core.client.ConnectionStatus
public class ConnectionStatus
ConnectionStatus represents the state of a connection. This class is used for feedback, when a client attempts to connect to a server.
| Constructor Summary | |
|---|---|
ConnectionStatus(boolean connected)
Constructor |
|
ConnectionStatus(boolean connected,
String msg)
Constructor |
|
ConnectionStatus(boolean connected,
Throwable e)
Constructor |
|
ConnectionStatus(boolean connected,
Throwable e,
boolean sslProblem,
List untrustedCerts)
|
|
| Method Summary | |
|---|---|
Throwable |
getException()
|
String |
getMessage()
Returns the error message for a connection attempt |
String |
getTicket()
Returns the ticket required for connecting to a server |
List |
getUntrustedCertificates()
|
boolean |
isConnected()
Indicates whether the connection was successful or not |
boolean |
isSLLProblem()
|
void |
setConnected(boolean flag)
Sets whether the connection is successful or not |
void |
setMessage(String message)
Sets the connection error message |
void |
setTicket(String ticket)
Sets the ticket to use when connecting to a server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionStatus(boolean connected)
connected - indicates whether a connection has been made
public ConnectionStatus(boolean connected,
Throwable e)
connected - indicates whether a connection has been madee - the exception that occurred when attempting to connect
public ConnectionStatus(boolean connected,
String msg)
connected - indicates whether a connection has been mademsg - a connection error message
public ConnectionStatus(boolean connected,
Throwable e,
boolean sslProblem,
List untrustedCerts)
| Method Detail |
|---|
public void setConnected(boolean flag)
flag - indication of whether the connection is successfulpublic void setMessage(String message)
message - the error messagepublic void setTicket(String ticket)
ticket - the ticketpublic boolean isConnected()
public String getMessage()
public String getTicket()
public Throwable getException()
public boolean isSLLProblem()
public List getUntrustedCertificates()
|
Remote System Explorer DataStore Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||