|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PMPService
Interface of the PMP Service
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface com.prosyst.util.event.EventCollector |
|---|
addEventSource, event, removeEventSource |
| Field Detail |
|---|
static 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
| Method Detail |
|---|
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 certificates
PMPException - If an IOException, protocol or authentication error occured.void addPMPConnListener(PMPConnListener listener)
listener - the PMPEventListener to registerPMPConnListenervoid removePMPConnListener(PMPConnListener listener)
listener - the PMPEventListener to removePMPConnListener
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||