jdk/src/share/classes/com/sun/jmx/snmp/daemon/SnmpAdaptorServerMBean.java
changeset 21278 ef8a3a2a72f2
parent 14677 1607f4cfc506
child 23010 6dadb192ad81
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   471      *
   471      *
   472      * @param generic The generic number of the trap.
   472      * @param generic The generic number of the trap.
   473      * @param specific The specific number of the trap.
   473      * @param specific The specific number of the trap.
   474      * @param varBindList A list of <CODE>SnmpVarBind</CODE> instances or null.
   474      * @param varBindList A list of <CODE>SnmpVarBind</CODE> instances or null.
   475      *
   475      *
   476      * @exception IOException An I/O error occured while sending the trap.
   476      * @exception IOException An I/O error occurred while sending the trap.
   477      * @exception SnmpStatusException If the trap exceeds the limit defined by <CODE>bufferSize</CODE>.
   477      * @exception SnmpStatusException If the trap exceeds the limit defined by <CODE>bufferSize</CODE>.
   478      */
   478      */
   479     public void snmpV1Trap(int generic, int specific, SnmpVarBindList varBindList) throws IOException, SnmpStatusException;
   479     public void snmpV1Trap(int generic, int specific, SnmpVarBindList varBindList) throws IOException, SnmpStatusException;
   480 
   480 
   481 
   481 
   561      * </UL>
   561      * </UL>
   562      *
   562      *
   563      * @param trapOid The OID identifying the trap.
   563      * @param trapOid The OID identifying the trap.
   564      * @param varBindList A list of <CODE>SnmpVarBind</CODE> instances or null.
   564      * @param varBindList A list of <CODE>SnmpVarBind</CODE> instances or null.
   565      *
   565      *
   566      * @exception IOException An I/O error occured while sending the trap.
   566      * @exception IOException An I/O error occurred while sending the trap.
   567      * @exception SnmpStatusException If the trap exceeds the limit defined by <CODE>bufferSize</CODE>.
   567      * @exception SnmpStatusException If the trap exceeds the limit defined by <CODE>bufferSize</CODE>.
   568      */
   568      */
   569     public void snmpV2Trap(SnmpOid trapOid, SnmpVarBindList varBindList) throws IOException, SnmpStatusException;
   569     public void snmpV2Trap(SnmpOid trapOid, SnmpVarBindList varBindList) throws IOException, SnmpStatusException;
   570 
   570 
   571 
   571