Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
MessageServiceConnectionInfo (String host, int port, String userName, String password) | |
String | getHost () |
String | getPassword () |
int | getPort () |
String | getUserName () |
void | tryConnect () throws MessageServiceException |
Private Attributes | |
final String | host |
final String | password |
final int | port |
final String | userName |
Static Private Attributes | |
static final String | CONNECTION_REFUSED = "connection refused" |
static final String | CONNECTION_TIMED_OUT = "connection timed out" |
static final int | IS_REACHABLE_TIMEOUT_MS = 1000 |
static final String | MESSAGE_SERVICE_URI = "tcp://%s:%s?wireFormat.maxInactivityDuration=0" |
static final String | PASSWORD_OR_USERNAME_BAD = "user name [" |
Connection info for a Java Message Service (JMS) provider. Thread-safe.
Definition at line 36 of file MessageServiceConnectionInfo.java.
org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.MessageServiceConnectionInfo | ( | String | host, |
int | port, | ||
String | userName, | ||
String | password | ||
) |
Constructs an object containing connection info for a Java Message Service (JMS) provider.
host | The host to use for a message service connection. May be a host name or an IP address. |
port | The port number to use for a message service connection. |
userName | The user name to use for a message service connection. May be the empty string. |
password | The password to use for a message service connection. May be the empty string. |
Definition at line 61 of file MessageServiceConnectionInfo.java.
References org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.host, org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.password, org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.port, and org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.userName.
String org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.getHost | ( | ) |
Gets the host to use for a message service connection. May be a host name or an IP address.
Definition at line 92 of file MessageServiceConnectionInfo.java.
References org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.host.
Referenced by org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.tryConnect().
String org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.getPassword | ( | ) |
Gets the password to use for a message service connection.
Definition at line 82 of file MessageServiceConnectionInfo.java.
References org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.password.
Referenced by org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.tryConnect().
int org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.getPort | ( | ) |
Gets the port number to use for a message service connection.
Definition at line 101 of file MessageServiceConnectionInfo.java.
References org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.port.
String org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.getUserName | ( | ) |
Gets the user name to use for a message service connection.
Definition at line 73 of file MessageServiceConnectionInfo.java.
References org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.userName.
Referenced by org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.tryConnect().
void org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.tryConnect | ( | ) | throws MessageServiceException |
Verifies connection to messaging service. Throws if we cannot communicate with messaging service.
When issues occur, it attempts to diagnose them by looking at the exception messages, returning the appropriate user-facing text for the exception received. This method expects the Exceptions messages to be in English and compares against English text.
Definition at line 128 of file MessageServiceConnectionInfo.java.
References org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.getHost(), org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.getPassword(), and org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.getUserName().
Referenced by org.sleuthkit.autopsy.corecomponents.MultiUserSettingsPanel.bnTestMessageServiceActionPerformed(), and org.sleuthkit.autopsy.core.ServicesMonitor.checkMessagingServerConnectionStatus().
|
staticprivate |
Definition at line 40 of file MessageServiceConnectionInfo.java.
|
staticprivate |
Definition at line 39 of file MessageServiceConnectionInfo.java.
|
private |
Definition at line 45 of file MessageServiceConnectionInfo.java.
Referenced by org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.getHost(), and org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.MessageServiceConnectionInfo().
|
staticprivate |
Definition at line 42 of file MessageServiceConnectionInfo.java.
|
staticprivate |
Definition at line 38 of file MessageServiceConnectionInfo.java.
|
private |
Definition at line 44 of file MessageServiceConnectionInfo.java.
Referenced by org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.getPassword(), and org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.MessageServiceConnectionInfo().
|
staticprivate |
Definition at line 41 of file MessageServiceConnectionInfo.java.
|
private |
Definition at line 46 of file MessageServiceConnectionInfo.java.
Referenced by org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.getPort(), and org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.MessageServiceConnectionInfo().
|
private |
Definition at line 43 of file MessageServiceConnectionInfo.java.
Referenced by org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.getUserName(), and org.sleuthkit.autopsy.events.MessageServiceConnectionInfo.MessageServiceConnectionInfo().
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.