Java Doc for RowStatus.java in  » Net » snmp4j » org » snmp4j » agent » mo » snmp » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » snmp4j » org.snmp4j.agent.mo.snmp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.snmp4j.agent.mo.MOColumn
      org.snmp4j.agent.mo.MOMutableColumn
         org.snmp4j.agent.mo.snmp.RowStatus

RowStatus
public class RowStatus extends MOMutableColumn implements MOChangeListener,MOTableRowListener(Code)
The RowStatus class implements the columnar object TC RowStatus. The RowStatus textual convention is used to manage the creation and deletion of conceptual rows, and is used as the value of the SYNTAX clause for the status column of a conceptual row. See RFC 2579. The RowStatus column controls row creation and deletion in SNMP tables with READ-CREATE maximum access. Since the state of a dynamic row is/may be important to dependent rows / other objects of an agent, row status change events can be propagated to other objects through registering RowStatusListener s.
author:
   Frank Fock
version:
   1.0

Inner Class :public static class ActiveRowsFilter implements MOTableRowFilter
Inner Class :static class RowStatusValidator implements MOValueValidationListener

Field Summary
final public static  intactive
    
final public static  intcreateAndGo
    
final public static  intcreateAndWait
    
final public static  intdestroy
    
final public static  intnotExistant
    
final public static  intnotInService
    
final public static  intnotReady
    

Constructor Summary
public  RowStatus(int columnID)
     Creates a RowStatus column with the specified column sub-identifier and maximum access of 'read-create'.
public  RowStatus(int columnID, MOAccess access)
     Creates a RowStatus column with the specified column sub-identifier.

Method Summary
public synchronized  voidaddRowStatusListener(RowStatusListener l)
    
public  voidafterMOChange(MOChangeEvent changeEvent)
    
public  voidafterPrepareMOChange(MOChangeEvent changeEvent)
    
protected  voidassignNewValue(SubRequest subRequest, MOTableRow row, int column, int newValue)
    
public  voidbeforeMOChange(MOChangeEvent changeEvent)
    
public  voidbeforePrepareMOChange(MOChangeEvent changeEvent)
    
public  voidcommit(SubRequest subRequest, MOTableRow row, MOTableRow changeSet, int column)
    
protected  voidfireRowStatusChanged(RowStatusEvent event)
    
public  voidget(SubRequest subRequest, MOTableRow row, int column)
    
protected  booleanisReady(MOTableRow row, int rowStatusColumn)
    
protected  booleanisReady(MOTableRow row, int rowStatusColumn, MOTableRow changeSet)
    
public static  booleanisRowActive(MOTableRow row, int rowStatusColumnIndex)
     Tests if the specified row is active.
public  booleanisVolatile(MOTableRow row, int column)
    
public  voidprepare(SubRequest subRequest, MOTableRow row, MOTableRow changeSet, int column)
    
public synchronized  voidremoveRowStatusListener(RowStatusListener l)
    
public  voidrowChanged(MOTableRowEvent event)
    
public  voidsetTable(MOTable table)
     Sets the table instance this columnar object is contained in.
public  voidundo(SubRequest subRequest, MOTableRow row, int column)
    
public  voidunsetTable(MOTable table)
     Unsets the table instance and thus unregisters itself as MOChangeListener and MOTableRowListener .

Field Detail
active
final public static int active(Code)



createAndGo
final public static int createAndGo(Code)



createAndWait
final public static int createAndWait(Code)



destroy
final public static int destroy(Code)



notExistant
final public static int notExistant(Code)



notInService
final public static int notInService(Code)



notReady
final public static int notReady(Code)




Constructor Detail
RowStatus
public RowStatus(int columnID)(Code)
Creates a RowStatus column with the specified column sub-identifier and maximum access of 'read-create'.
Parameters:
  columnID - a column sub-identifier.



RowStatus
public RowStatus(int columnID, MOAccess access)(Code)
Creates a RowStatus column with the specified column sub-identifier.
Parameters:
  columnID - a column sub-identifier.
Parameters:
  access - the maximum access for the RowStatus column (should be READ-CREATE).




Method Detail
addRowStatusListener
public synchronized void addRowStatusListener(RowStatusListener l)(Code)



afterMOChange
public void afterMOChange(MOChangeEvent changeEvent)(Code)



afterPrepareMOChange
public void afterPrepareMOChange(MOChangeEvent changeEvent)(Code)



assignNewValue
protected void assignNewValue(SubRequest subRequest, MOTableRow row, int column, int newValue)(Code)



beforeMOChange
public void beforeMOChange(MOChangeEvent changeEvent)(Code)



beforePrepareMOChange
public void beforePrepareMOChange(MOChangeEvent changeEvent)(Code)



commit
public void commit(SubRequest subRequest, MOTableRow row, MOTableRow changeSet, int column)(Code)



fireRowStatusChanged
protected void fireRowStatusChanged(RowStatusEvent event)(Code)



get
public void get(SubRequest subRequest, MOTableRow row, int column)(Code)



isReady
protected boolean isReady(MOTableRow row, int rowStatusColumn)(Code)



isReady
protected boolean isReady(MOTableRow row, int rowStatusColumn, MOTableRow changeSet)(Code)



isRowActive
public static boolean isRowActive(MOTableRow row, int rowStatusColumnIndex)(Code)
Tests if the specified row is active.
Parameters:
  row - a row with a RowStatus column.
Parameters:
  rowStatusColumnIndex - the column index of the RowStatus column in row.true if row is active.



isVolatile
public boolean isVolatile(MOTableRow row, int column)(Code)



prepare
public void prepare(SubRequest subRequest, MOTableRow row, MOTableRow changeSet, int column)(Code)



removeRowStatusListener
public synchronized void removeRowStatusListener(RowStatusListener l)(Code)



rowChanged
public void rowChanged(MOTableRowEvent event)(Code)



setTable
public void setTable(MOTable table)(Code)
Sets the table instance this columnar object is contained in. This method should be called by MOTable instance to register the table with the RowStatus column. When called, this RowStatus registers itself as MOChangeListener and MOTableRowListener .
Parameters:
  table - the MOTable instance where this column is contained in.



undo
public void undo(SubRequest subRequest, MOTableRow row, int column)(Code)



unsetTable
public void unsetTable(MOTable table)(Code)
Unsets the table instance and thus unregisters itself as MOChangeListener and MOTableRowListener .
Parameters:
  table - the MOTable instance where this column was part of.



Methods inherited from org.snmp4j.agent.mo.MOMutableColumn
public synchronized void addMOValueValidationListener(MOValueValidationListener validator)(Code)(Java Doc)
public void cleanup(SubRequest subRequest, MOTableRow row, int column)(Code)(Java Doc)
public void commit(SubRequest subRequest, MOTableRow row, MOTableRow changeSet, int column)(Code)(Java Doc)
public Variable getDefaultValue()(Code)(Java Doc)
public boolean isMandatory()(Code)(Java Doc)
public boolean isMutableInService()(Code)(Java Doc)
public void prepare(SubRequest subRequest, MOTableRow row, MOTableRow changeSet, int column)(Code)(Java Doc)
public synchronized void removeMOValueValidationListener(MOValueValidationListener validator)(Code)(Java Doc)
public void setDefaultValue(Variable defaultValue)(Code)(Java Doc)
public void setMutableInService(boolean mutableInService)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void undo(SubRequest subRequest, MOTableRow row, int column)(Code)(Java Doc)
public synchronized int validate(Variable newValue, Variable oldValue)(Code)(Java Doc)
protected boolean validateSetRequest(SubRequest subRequest, MOTableRow row, int column)(Code)(Java Doc)

Methods inherited from org.snmp4j.agent.mo.MOColumn
public int compareTo(Object column)(Code)(Java Doc)
public void get(SubRequest subRequest, MOTableRow row, int column)(Code)(Java Doc)
public MOAccess getAccess()(Code)(Java Doc)
public int getColumnID()(Code)(Java Doc)
public int getSyntax()(Code)(Java Doc)
public MOTable getTable()(Code)(Java Doc)
public Variable getValue(MOTableRow row, int column)(Code)(Java Doc)
public boolean isVolatile(MOTableRow row, int column)(Code)(Java Doc)
public void setAccess(MOAccess access)(Code)(Java Doc)
public void setColumnID(int columnID)(Code)(Java Doc)
public void setSyntax(int syntax)(Code)(Java Doc)
public void setTable(MOTable table)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.