⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 trapevent.java

📁 snmp zip 包开发snmp协议
💻 JAVA
字号:
// NAME//      $RCSfile: TrapEvent.java,v $// DESCRIPTION//      [given below in javadoc format]// DELTA//      $Revision: 1.8 $// CREATED//      $Date: 2006/02/09 14:30:18 $// COPYRIGHT//      Westhawk Ltd// TO DO///* * Copyright (C) 2001 - 2006 by Westhawk Ltd * <a href="www.westhawk.co.uk">www.westhawk.co.uk</a> * * Permission to use, copy, modify, and distribute this software * for any purpose and without fee is hereby granted, provided * that the above copyright notices appear in all copies and that * both the copyright notice and this permission notice appear in * supporting documentation. * This software is provided "as is" without express or implied * warranty. * author <a href="mailto:snmp@westhawk.co.uk">Tim Panton</a> */package uk.co.westhawk.snmp.event;import uk.co.westhawk.snmp.stack.*;/** * The TrapEvent class. This class is delivered when a trap is received. * * @author <a href="mailto:snmp@westhawk.co.uk">Birgit Arkesteijn</a> * @version $Revision: 1.8 $ $Date: 2006/02/09 14:30:18 $ */public class TrapEvent extends DecodedPduEvent{    private static final String     version_id =        "@(#)$Id: TrapEvent.java,v 1.8 2006/02/09 14:30:18 birgit Exp $ Copyright Westhawk Ltd";/**  * The constructor for a decoded trap pdu event. The SnmpContext * classes will fire decoded trap pdu events. * * @param source The source (SnmpContext) of the event * @param pdu The pdu * @param port The remote port number of the host where the pdu came from * */public TrapEvent(Object source, Pdu pdu, int port) {    super(source, pdu, port);}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -