Lines Matching defs:handler

196             handler = h;
200 private final Handler handler;
212 if (handler.sublist != null) {
214 return hlist.getSubRequest(handler);
219 Object result = hlist.getSubRequest(handler,entry);
755 // Returns the SnmpMibNode associated with the given handler
758 public SnmpMibNode getMetaNode(Handler handler) {
759 return handler.meta;
764 // SnmpMibNode associated with the given handler
767 public int getOidDepth(Handler handler) {
768 return handler.depth;
778 public Enumeration getSubRequests(Handler handler) {
779 return new Enum(this,handler);
791 // adds a varbind to a handler node sublist
800 // adds an entry varbind to a handler node sublist
810 // adds an entry varbind to a handler node sublist - specifying the
859 SnmpMibSubRequest getSubRequest(Handler handler) {
860 if (handler == null) return null;
861 return new SnmpMibSubRequestImpl(request,handler.getSubList(),
870 SnmpMibSubRequest getSubRequest(Handler handler, SnmpOid oid) {
871 if (handler == null) return null;
872 final int pos = handler.getEntryPos(oid);
875 handler.getEntrySubList(pos),
876 handler.getEntryOid(pos),
877 handler.isNewEntry(pos),
879 handler.getRowStatusVarBind(pos));
885 // index relative to the position of the entry in the handler sublist.
888 SnmpMibSubRequest getSubRequest(Handler handler, int entry) {
889 if (handler == null) return null;
891 SnmpMibSubRequestImpl(request,handler.getEntrySubList(entry),
892 handler.getEntryOid(entry),
893 handler.isNewEntry(entry),getnextflag,
894 handler.getRowStatusVarBind(entry));
905 // stores a handler node in the Hashtable
908 private void put(Object key, Handler handler) {
909 if (handler == null) return;
912 hashtable.put(key,handler);
916 // finds a handler node in the Hashtable
1004 // adds a varbind in a handler node sublist
1026 // retrieve the handler node associated with the given meta,
1028 Handler handler = get(key);
1030 // If no handler node was found for that meta, create one.
1031 if (handler == null) {
1035 handler = new Handler(type);
1036 handler.meta = meta;
1037 handler.depth = depth;
1038 put(key,handler);
1046 // Adds the varbind in the handler node's sublist.
1048 handler.addVarbind(varbind);
1050 handler.addVarbind(varbind,entryoid,isnew,statusvb);