com.adventnet.adaptors.tl1
Class TL1AdaptorInfo

java.lang.Object
  extended by com.adventnet.adaptors.tl1.TL1AdaptorInfo

public class TL1AdaptorInfo
extends java.lang.Object

This class acts as a mbean for the TL1 Adaptor information as specified in the AGENT-TL1-CONF-MIB mib for the TL1 agent. By default this gets instantiated and registered with the MBeanServer when the TL1Adaptor gets registered with the server.


Field Summary
protected  java.lang.Integer tl1OperStatus
           
protected  java.lang.Long tl1UpTime
           
protected  java.lang.String tl1Version
           
 
Constructor Summary
TL1AdaptorInfo()
           
 
Method Summary
 java.lang.Integer getTl1OperStatus()
          Handles the JMX Get Request for tl1OperStatus
 java.lang.Long getTl1UpTime()
          Handles the JMX Get Request for tl1UpTime
 java.lang.String getTl1Version()
          Handles the JMX Get Request for tl1Version
 void setTl1OperStatus(java.lang.Integer value)
          Handles the JMX Set Request for tl1OperStatus
 void setTl1UpTime(java.lang.Long value)
          Handles the JMX Set Request for tl1UpTime
 void setTl1Version(java.lang.String value)
          Handles the JMX Set Request for tl1Version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tl1Version

protected java.lang.String tl1Version

tl1UpTime

protected java.lang.Long tl1UpTime

tl1OperStatus

protected java.lang.Integer tl1OperStatus
Constructor Detail

TL1AdaptorInfo

public TL1AdaptorInfo()
Method Detail

getTl1Version

public java.lang.String getTl1Version()
                               throws AgentException
Handles the JMX Get Request for tl1Version

Throws:
AgentException

setTl1Version

public void setTl1Version(java.lang.String value)
                   throws AgentException
Handles the JMX Set Request for tl1Version

Parameters:
String -
Throws:
AgentException - on error

getTl1UpTime

public java.lang.Long getTl1UpTime()
                            throws AgentException
Handles the JMX Get Request for tl1UpTime

Throws:
AgentException

setTl1UpTime

public void setTl1UpTime(java.lang.Long value)
                  throws AgentException
Handles the JMX Set Request for tl1UpTime

Parameters:
Long -
Throws:
AgentException - on error

getTl1OperStatus

public java.lang.Integer getTl1OperStatus()
                                   throws AgentException
Handles the JMX Get Request for tl1OperStatus

Throws:
AgentException

setTl1OperStatus

public void setTl1OperStatus(java.lang.Integer value)
                      throws AgentException
Handles the JMX Set Request for tl1OperStatus

Parameters:
Integer -
Throws:
AgentException - on error