org.netxms.client.packages
Interface PackageDeploymentListener


public interface PackageDeploymentListener

Listener interface for package deployment progress


Field Summary
static int COMPLETED
           
static int FAILED
           
static int FINISHED
           
static int INITIALIZE
           
static int INSTALLATION
           
static int PENDING
           
static int TRANSFER
           
 
Method Summary
 void deploymentComplete()
          Called by deployment thread when entire deployment task is completed.
 void deploymentStarted()
          Called by deployment thread when deployment task started.
 void statusUpdate(long nodeId, int status, java.lang.String message)
          Status update for node.
 

Field Detail

PENDING

static final int PENDING
See Also:
Constant Field Values

TRANSFER

static final int TRANSFER
See Also:
Constant Field Values

INSTALLATION

static final int INSTALLATION
See Also:
Constant Field Values

COMPLETED

static final int COMPLETED
See Also:
Constant Field Values

FAILED

static final int FAILED
See Also:
Constant Field Values

INITIALIZE

static final int INITIALIZE
See Also:
Constant Field Values

FINISHED

static final int FINISHED
See Also:
Constant Field Values
Method Detail

deploymentStarted

void deploymentStarted()
Called by deployment thread when deployment task started.


statusUpdate

void statusUpdate(long nodeId,
                  int status,
                  java.lang.String message)
Status update for node.

Parameters:
nodeId - node object ID
status - status code (defined in PackageDeploymentListener interface)
message - error message, if applicable (otherwise null)

deploymentComplete

void deploymentComplete()
Called by deployment thread when entire deployment task is completed.



Copyright © 2012. All Rights Reserved.