|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents defines the MBean interface for use on the client side of Software Distribution within the SIF environment. This intent of this interface is NOT to replicate a full software distribution entity, but rather to, in the controlled world of SIF, provide a way to signal a device, or class of devices that either an update is ready, or a new package is available for installation. In short, this is just a signalling mechanism. It remains the responsibility of the target device to understand how to unpack, and install the packages. Additionally, since this triggering mechanism is predicated on FTP, it is assumed that the target device will act as the FTP client, and that the FTP server is accessible by the client.
The ObjectName
of this MBean includes the following attributes, in addition to the SIF
attribute of DeviceID
:
This management interface includes the following attributes. These attributes are described in more detail in the accessor methods.
The following operations are included in this management interface. These are described in more detail in the corresponding method documentation.
This MBean emits a MgmtSDProgressNotification
after each percentage interval
increment has passed, and a MgmtSDCompletionNotification
when an installation
has completed.
MgmtSDProgressNotification
,
MgmtSDCompletionNotification
Field Summary | |
---|---|
static java.lang.String |
OBJECT_NAME
|
Method Summary | |
---|---|
int |
distributePackage(com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage,
java.lang.String HostPath,
java.lang.String ClientPath,
long size,
int intervalPercentage)
Issue the command to distribute a package. |
long |
getFreeSpace(java.lang.String Device)
Get the amount of free space currently available on the target device on the client. |
java.lang.String |
getHost()
Get the host information currently set for this device. |
java.lang.String |
getPending()
Used to determine if there is a pending (deferred) distribution on this client. |
boolean |
isBusy()
Used to determine if distribution engine is currently performing a distrbution/install. |
int |
removePackage(com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage,
java.lang.String HostPath,
java.lang.String ClientPath,
long size,
int intervalPercentage)
Issue the command to remove or uninstal a package. |
int |
setFTPServerInfo(java.lang.String Host,
int Port,
java.lang.String UserID,
java.lang.String Password)
Set the FTP Server information to be used by this device. |
int |
testServer()
Tests the FTP parameters, and the path to the server. |
Field Detail |
public static final java.lang.String OBJECT_NAME
Method Detail |
public java.lang.String getHost()
public int setFTPServerInfo(java.lang.String Host, int Port, java.lang.String UserID, java.lang.String Password)
public int testServer()
public long getFreeSpace(java.lang.String Device)
public int distributePackage(com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage, java.lang.String HostPath, java.lang.String ClientPath, long size, int intervalPercentage)
public int removePackage(com.ibm.retail.si.mgmt.swdist.MgmtSftPackage swPackage, java.lang.String HostPath, java.lang.String ClientPath, long size, int intervalPercentage)
public java.lang.String getPending()
public boolean isBusy()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |