Source Code Cross Referenced for AgentXSharedMutableMOTable.java in  » Net » snmp4j » org » snmp4j » agent » agentx » subagent » 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.agentx.subagent 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*_############################################################################
02:          _## 
03:          _##  SNMP4J-AgentX - AgentXSharedMutableMOTable.java  
04:          _## 
05:          _##  Copyright (C) 2005-2007  Frank Fock (SNMP4J.org)
06:          _##  
07:          _##  This program is free software; you can redistribute it and/or modify
08:          _##  it under the terms of the GNU General Public License version 2 as 
09:          _##  published by the Free Software Foundation.
10:          _##
11:          _##  This program is distributed in the hope that it will be useful,
12:          _##  but WITHOUT ANY WARRANTY; without even the implied warranty of
13:          _##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14:          _##  GNU General Public License for more details.
15:          _##
16:          _##  You should have received a copy of the GNU General Public License
17:          _##  along with this program; if not, write to the Free Software
18:          _##  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
19:          _##  MA  02110-1301  USA
20:          _##  
21:          _##########################################################################*/
22:
23:        package org.snmp4j.agent.agentx.subagent;
24:
25:        import org.snmp4j.smi.OID; // For JavaDoc:
26:        import org.snmp4j.agent.agentx.AgentXSession;
27:        import org.snmp4j.agent.mo.MOTableRowEvent;
28:        import org.snmp4j.agent.mo.MOTableSubIndex;
29:
30:        /**
31:         * The <code>AgentXSharedMutableMOTable</code> extends the
32:         * <code>AgentXSharedMOTable</code> and <code>MutableMOTable</code> interface.
33:         * It serves as a marker interface to be able to differentiate
34:         * between regular tables, AgentX shared index tables, and AgentX shared index
35:         * tables with varying number of rows (this kind). The latter two
36:         * require an index definition where all sub-indexes have an OID specified
37:         * ({@link MOTableSubIndex#getOid()}). AgentX shared index tables provide
38:         * services needed for sharing rows of the same conceptual table
39:         * across multiple AgentX sub-agents.
40:         * <p>
41:         * This mutable variant is able to add (allocate and register) and remove
42:         * (deallocate and deregister) rows after initial registration of the subagent.
43:         *
44:         * @author Frank Fock
45:         * @version 1.0
46:         */
47:        public interface AgentXSharedMutableMOTable extends AgentXSharedMOTable {
48:
49:            /**
50:             * Returns the shared table support object this shared table uses.
51:             * @return
52:             *    an <code>AgentXSharedMOTableSupport</code> instance or <code>null</code>
53:             *    if this table has not been initialized for AgentX yet.
54:             */
55:            AgentXSharedMOTableSupport getAgentXSharedMOTableSupport();
56:
57:            /**
58:             * Sets the shared table support that this shared table should be use to
59:             * (de)register rows and (de)allocate indexes while this shared table is
60:             * part of an connected AgentX session. The shared table determines whether
61:             * the AgentX session is established by inspecting the {@link AgentXSession}
62:             * instance returned by this shared tabe support. If either the shared table
63:             * support instance is <code>null</code> or {@link AgentXSession#isClosed()}
64:             * returns <code>true</code> the AgentX session is considered to be
65:             * disconnected (not established).
66:             *
67:             * @param sharedTableSupport
68:             *    an <code>AgentXSharedMOTableSupport</code> instance to be used to
69:             *    (de)allocate indexes and (de)register rows at the AgentX master agent.
70:             */
71:            void setAgentXSharedMOTableSupport(
72:                    AgentXSharedMOTableSupport sharedTableSupport);
73:
74:            /**
75:             * Changes the index of a row without firing a {@link MOTableRowEvent}
76:             * about removing and adding of the row. Only a
77:             * {@link MOTableRowEvent#UPDATED} event will be fired.
78:             *
79:             * @param oldIndex
80:             *    the old index of the row to change.
81:             * @param newIndex
82:             *    the new index of the row.
83:             * @return
84:             *    <code>true</code> if the row index could be changed and
85:             *    <code>false</code> if either the row does not exists or the table model
86:             *    does not allow to add/remove rows.
87:             */
88:            boolean changeRowIndex(OID oldIndex, OID newIndex);
89:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.