com.adventnet.management.config.tftp
Class TftpAttributeEvent
java.lang.Object
|
+--com.adventnet.management.config.AttributeEvent
|
+--com.adventnet.management.config.tftp.TftpAttributeEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class TftpAttributeEvent
- extends AttributeEvent
This event indicates that a TftpAttribute has been configured over a Device.
Registered Listeners will be notified with these events for each attribute defined in a
ConfigTask . Listeners can be registered with the ConfigServer through
DeviceConfigurationAPI. AttributeEvent will be generated and notified
for each retry of attribute on the device.
- Since:
- 2.3
- See Also:
ConfigTask,
TftpAttribute,
DeviceConfigurationAPI.registerTaskListener(String, ConfigTaskListener), Serialized Form
|
Constructor Summary |
TftpAttributeEvent(java.lang.String taskName,
java.lang.String subTaskName,
java.lang.String deviceName,
java.lang.String attribute,
int errorCode,
java.lang.String status)
Creates an AttributeEvent of type GROUP_ATTRIBUTE. |
TftpAttributeEvent(java.lang.String taskName,
java.lang.String subTaskName,
java.lang.String deviceName,
java.lang.String identifier,
java.lang.String label,
java.lang.String value,
int errorCode,
java.lang.String status,
boolean endOfRetry)
Creates an AttributeEvent of type SCALAR_ATTRIBUTE. |
| Methods inherited from class com.adventnet.management.config.AttributeEvent |
getAttribute, getAttributeType, getDeviceName, getGroupEvents, getLabel, getMessage, getStatus, getSubTaskName, getTaskName, getValue, isEndOfRetry, setAttributeType, setGroupEvents, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TftpAttributeEvent
public TftpAttributeEvent(java.lang.String taskName,
java.lang.String subTaskName,
java.lang.String deviceName,
java.lang.String attribute,
int errorCode,
java.lang.String status)
- Creates an AttributeEvent of type GROUP_ATTRIBUTE. If the configured attribute is of type GROUP_ATTRIBUTE, then the
TftpAttributeEvent for the child attributes can be get from getGroupEvents()
- Parameters:
taskName - name of the task to which this attribute belongs.subTaskName - name of the subtask in a CombinedTask.deviceName - name of the configured device.attribute - name of the command( GET or PUT ) .errorStatus - status of configuration for this attribute.message - result of configuration for this attribute.
TftpAttributeEvent
public TftpAttributeEvent(java.lang.String taskName,
java.lang.String subTaskName,
java.lang.String deviceName,
java.lang.String identifier,
java.lang.String label,
java.lang.String value,
int errorCode,
java.lang.String status,
boolean endOfRetry)
- Creates an AttributeEvent of type SCALAR_ATTRIBUTE.
- Parameters:
taskName - name of the task to which this attribute belongs.subTaskName - name of the subtask in a CombinedTask.deviceName - name of the configured device.identifier - name of the command ( GET or PUT)label - label of the configured attribute.value - source file name of the TFTP Transfer.errorStatus - status of configuration for this attribute.message - result of configuration for this attribute.