trapevent.java
来自「无线网络管理」· Java 代码 · 共 60 行
JAVA
60 行
// 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 + =
减小字号Ctrl + -
显示快捷键?