public interface PMPService extends EventCollector
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HASH
Constant used for key in the login dictionary.
|
static java.lang.String |
MAX_ARRAY
constant used for the pmp configuration
|
static java.lang.String |
MAX_STRING
constant used for the pmp configuration
|
static java.lang.String |
PASSWORD
Constant used for key in the login dictionary.
|
static java.lang.String |
TIMEOUT
constant used for the pmp configuration
|
static java.lang.String |
URI
constant used for the pmp configuration
|
static java.lang.String |
USERNAME
Constant used for key in the login dictionary.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPMPConnListener(PMPConnListener listener)
Registers listener to receive events whenever one host
is connected or disconected to the pmp service
|
PMPConnection |
connect(java.lang.String uri,
java.util.Dictionary login)
Tries to establish a connection to remote PMP Service.
|
void |
removePMPConnListener(PMPConnListener listener)
Removes registred PMPEventlistener
|
addEventSource, event, removeEventSourcestatic final java.lang.String URI
static final java.lang.String MAX_ARRAY
static final java.lang.String MAX_STRING
static final java.lang.String TIMEOUT
static final java.lang.String USERNAME
static final java.lang.String PASSWORD
static final java.lang.String HASH
PMPConnection connect(java.lang.String uri, java.util.Dictionary login) throws PMPException
uri - of the remote PMPService host
uri is in the following format transportprotocol://host:portlogin - the login certificatesPMPException - If an IOException, protocol or authentication error occured.void addPMPConnListener(PMPConnListener listener)
listener - the PMPEventListener to registerPMPConnListenervoid removePMPConnListener(PMPConnListener listener)
listener - the PMPEventListener to removePMPConnListenerCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.