Framework Professional Edition Package


com.prosyst.mbs.services.pmp
Interface PMPService

All Superinterfaces:
EventCollector

public interface PMPService
extends EventCollector

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

URI

static final java.lang.String URI
constant used for the pmp configuration

See Also:
Constant Field Values

MAX_ARRAY

static final java.lang.String MAX_ARRAY
constant used for the pmp configuration

See Also:
Constant Field Values

MAX_STRING

static final java.lang.String MAX_STRING
constant used for the pmp configuration

See Also:
Constant Field Values

TIMEOUT

static final java.lang.String TIMEOUT
constant used for the pmp configuration

See Also:
Constant Field Values

USERNAME

static final java.lang.String USERNAME
Constant used for key in the login dictionary. Value of this key must be String username.

See Also:
Constant Field Values

PASSWORD

static final java.lang.String PASSWORD
Constant used for key in the login dictionary. Value of this key must be String password or byte [] hash code.

See Also:
Constant Field Values

HASH

static final java.lang.String HASH
Constant used for key in the login dictionary. Value of this key must be String hash.

See Also:
Constant Field Values
Method Detail

connect

PMPConnection connect(java.lang.String uri,
                      java.util.Dictionary login)
                      throws PMPException
Tries to establish a connection to remote PMP Service.

Parameters:
uri - of the remote PMPService host uri is in the following format transportprotocol://host:port
login - the login certificates
Returns:
PMPConnection
Throws:
PMPException - If an IOException, protocol or authentication error occured.

addPMPConnListener

void addPMPConnListener(PMPConnListener listener)
Registers listener to receive events whenever one host is connected or disconected to the pmp service

Parameters:
listener - the PMPEventListener to register
See Also:
PMPConnListener

removePMPConnListener

void removePMPConnListener(PMPConnListener listener)
Removes registred PMPEventlistener

Parameters:
listener - the PMPEventListener to remove
See Also:
PMPConnListener

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved