AdventNet Web NMS 4 API Specification

com.adventnet.management.config.tl1
Class TL1AttributeEvent

java.lang.Object
  |
  +--com.adventnet.management.config.AttributeEvent
        |
        +--com.adventnet.management.config.tl1.TL1AttributeEvent
All Implemented Interfaces:
java.io.Serializable

public class TL1AttributeEvent
extends AttributeEvent

This event indicates that a TL1Attribute 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, TL1Attribute, DeviceConfigurationAPI.registerTaskListener(String,ConfigTaskListener), Serialized Form

Constructor Summary
TL1AttributeEvent(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.
TL1AttributeEvent(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
 

Constructor Detail

TL1AttributeEvent

public TL1AttributeEvent(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 TL1AttributeEvent 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 configured CommandCode.
errorStatus - status of configuration for this attribute.
message - result of configuration for this attribute.

TL1AttributeEvent

public TL1AttributeEvent(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 CommandCode.
label - label of the configured attribute.
value - value of the attribute configured.
errorStatus - status of configuration for this attribute.
message - result of configuration for this attribute.

AdventNet Web NMS 4 API Specification