亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? snmpcontextv3discovery.java

?? 無線網絡管理
?? JAVA
字號:
// NAME//      $RCSfile: SnmpContextv3Discovery.java,v $// DESCRIPTION//      [given below in javadoc format]// DELTA//      $Revision: 3.10 $// CREATED//      $Date: 2006/11/29 16:23:33 $// COPYRIGHT//      Westhawk Ltd// TO DO///* * Copyright (C) 2005 - 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. */package uk.co.westhawk.snmp.stack;import java.net.*;import java.io.*;import java.util.*;import uk.co.westhawk.snmp.pdu.*;import uk.co.westhawk.snmp.util.*;import uk.co.westhawk.snmp.event.*;import uk.co.westhawk.snmp.beans.*;/** * This class contains the SNMP v3 discovery context that is used by * UsmBeingDiscoveredBean, when this stack is being discovered. * Most of the work is done by SnmpContextv3Basis. * * <p> * Now that the stack can send traps and receive requests,  * it needs to be able to act as an * authoritative SNMP engine. This is done via the interface UsmAgent. * The DefaultUsmAgent is not guaranteed to work; agents (or rather  * authoritative engines) <em>should</em> provide a better implementation. * </p> * * @see DefaultUsmAgent * @see uk.co.westhawk.snmp.beans.UsmBeingDiscoveredBean * * @since 4_14 * @author <a href="mailto:snmp@westhawk.co.uk">Birgit Arkesteijn</a> * @version $Revision: 3.10 $ $Date: 2006/11/29 16:23:33 $ */public class SnmpContextv3Discovery extends SnmpContextv3Basis{    private static final String     version_id =        "@(#)$Id: SnmpContextv3Discovery.java,v 3.10 2006/11/29 16:23:33 birgit Exp $ Copyright Westhawk Ltd";/** * Constructor. * * @param host The host to which the PDU will be sent * @param port The port where the SNMP server will be * @see AbstractSnmpContext#AbstractSnmpContext(String, int) */public SnmpContextv3Discovery(String host, int port) throws java.io.IOException{    super(host, port);}/** * Constructor. * * @param host The host to which the Pdu will be sent * @param port The port where the SNMP server will be * @param typeSocketA The local address the server will bind to * * @see AbstractSnmpContext#AbstractSnmpContext(String, int, String) */public SnmpContextv3Discovery(String host, int port, String typeSocketA) throws java.io.IOException{    super(host, port, typeSocketA);}/** * Constructor. * * @param host The host to which the PDU will be sent * @param port The port where the SNMP server will be * @param bindAddress The local address the server will bind to * @param typeSocketA The type of socket to use.  * * @see AbstractSnmpContext#AbstractSnmpContext(String, int, String, String) * @see SnmpContextBasisFace#STANDARD_SOCKET * @see SnmpContextBasisFace#TCP_SOCKET * @since 4_14 */public SnmpContextv3Discovery(String host, int port, String bindAddress, String typeSocketA) throws java.io.IOException{    super(host, port, bindAddress, typeSocketA);}/** * Processes an incoming Discovery (and only Discovery) PDU.  * <p> * See <a href="http://www.ietf.org/rfc/rfc3414.txt">SNMP-USER-BASED-SM-MIB</a>. * </p> * * @see #rawPduReceived */public Pdu processIncomingPdu(byte [] message) throws DecodingException, IOException{    String msg = checkContextSanity();    if (msg != null)    {        throw new DecodingException(msg);    }    int l = message.length;    byte [] copyOfMessage = new byte[l];    System.arraycopy(message, 0, copyOfMessage, 0, l);    AsnDecoderv3 rpdu = new AsnDecoderv3();    ByteArrayInputStream in = new ByteArrayInputStream(message);    AsnSequence asnTopSeq = rpdu.DecodeSNMPv3(in);    int msgId = rpdu.getMsgId(asnTopSeq);    AsnPduSequence pduSeq = rpdu.processSNMPv3(this, asnTopSeq, copyOfMessage, true);    Pdu pdu = null;    if (pduSeq != null)    {        byte type = pduSeq.getRespType();        if (type == SnmpConstants.GET_REQ_MSG && pduSeq.isSnmpv3Discovery() == true)        {            pdu = new uk.co.westhawk.snmp.stack.GetPdu(this);        }        else        {            /*            These cannot be sent as discovery pdu;            SnmpConstants.GETNEXT_REQ_MSG            SnmpConstants.SET_REQ_MSG            SnmpConstants.GETBULK_REQ_MSG            SnmpConstants.INFORM_REQ_MSG            SnmpConstants.GET_RSP_MSG            SnmpConstants.GET_RPRT_MSG            SnmpConstants.TRPV2_REQ_MSG            */            if (AsnObject.debug > 3)            {                System.out.println(getClass().getName()                     + ".ProcessIncomingPdu(): PDU received with type "                     + pduSeq.getRespTypeString()                    + ". Ignoring it.");            }        }        if (pdu != null)        {            pdu.fillin(pduSeq);            pdu.snmpv3MsgId = new Integer(msgId);        }    }    return pdu;}/** * Returns a clone of this SnmpContextv3. * * @exception CloneNotSupportedException Thrown when the constructor * generates an IOException */public Object clone() throws CloneNotSupportedException{    SnmpContextv3Discovery clContext = null;    try    {        clContext = new SnmpContextv3Discovery(hostname, hostPort, bindAddr, typeSocket);        clContext = (SnmpContextv3Discovery) cloneParameters(clContext);    }    catch (java.io.IOException exc)    {        throw new CloneNotSupportedException("IOException "             + exc.getMessage());    }    return clContext;}}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美三级电影在线观看| 国产精品五月天| 国产人久久人人人人爽| 亚洲欧美另类图片小说| 国产一区二区在线视频| 色综合网站在线| 国产日韩欧美不卡在线| 天天操天天综合网| 成人app在线| 精品日韩欧美在线| 亚洲一区视频在线| proumb性欧美在线观看| 日韩欧美专区在线| 亚洲自拍都市欧美小说| av在线不卡电影| 国产亚洲欧美日韩日本| 免费欧美日韩国产三级电影| 欧美熟乱第一页| 亚洲丝袜精品丝袜在线| 成人av在线播放网址| 久久众筹精品私拍模特| 免费av网站大全久久| 欧美日韩日本视频| 亚洲福利国产精品| 91国产福利在线| 亚洲嫩草精品久久| 91亚洲男人天堂| 成人免费一区二区三区在线观看 | 欧美一区二区三区四区在线观看| 亚洲老司机在线| 91麻豆精东视频| 国产精品久久久久婷婷| jlzzjlzz欧美大全| 欧美激情一区三区| 99久久久无码国产精品| 国产精品久久网站| 一道本成人在线| 一区二区三区欧美| 在线一区二区三区四区| 一区二区欧美视频| 欧美日韩国产小视频在线观看| 亚洲最大色网站| 欧美视频在线播放| 五月综合激情网| 91精品久久久久久久久99蜜臂| 另类人妖一区二区av| 精品国产亚洲在线| 99久久免费视频.com| 亚洲一区二区三区爽爽爽爽爽| 欧美色成人综合| 美女精品一区二区| 国产亚洲欧美日韩在线一区| 99久久久国产精品| 亚洲国产精品麻豆| 精品国产乱码久久久久久1区2区| 国产在线不卡一卡二卡三卡四卡| 欧美国产精品劲爆| 色综合久久中文综合久久97| 亚洲成人av免费| 久久夜色精品国产欧美乱极品| 粉嫩av一区二区三区粉嫩| 亚洲人123区| 日韩亚洲欧美一区| 成人免费视频网站在线观看| 一区二区三区中文字幕| 91精品国产欧美日韩| 国产成人av一区二区三区在线观看| 中文字幕一区二区在线播放| 在线观看国产91| 国产一区二区看久久| 亚洲精品视频观看| 欧美一卡在线观看| 91麻豆精东视频| 激情久久久久久久久久久久久久久久| 国产精品入口麻豆原神| 欧美日韩国产天堂| 成人一区二区三区视频在线观看| 亚洲视频免费在线| 精品毛片乱码1区2区3区| 色综合中文字幕国产 | 久久精品av麻豆的观看方式| 国产精品久久久久久久裸模| 欧美一区二区福利在线| 91美女片黄在线| 国产专区综合网| 日韩精品福利网| 亚洲人成在线播放网站岛国| 精品日韩在线观看| 欧美绝品在线观看成人午夜影视| 国产盗摄一区二区| 免费成人美女在线观看.| 亚洲柠檬福利资源导航| 中文字幕精品三区| 欧美成va人片在线观看| 欧美色视频一区| 色综合天天综合在线视频| 国产精品夜夜嗨| 久久超碰97人人做人人爱| 亚洲午夜av在线| 亚洲欧洲日韩女同| 国产亚洲成av人在线观看导航 | 麻豆国产欧美日韩综合精品二区| 一二三四社区欧美黄| 亚洲视频狠狠干| 亚洲日本护士毛茸茸| 欧美激情一区二区在线| 国产日本欧洲亚洲| 久久久精品人体av艺术| 精品成人一区二区三区| 欧美一级高清大全免费观看| 欧美日本在线观看| 欧美日本一区二区三区四区| 欧美喷潮久久久xxxxx| 欧美精品三级日韩久久| 欧美日韩亚洲综合| 制服丝袜中文字幕一区| 91麻豆精品国产综合久久久久久| 欧美午夜影院一区| 欧美日韩不卡一区二区| 欧美欧美欧美欧美| 日韩欧美一级精品久久| 日韩一级二级三级| 久久欧美一区二区| 国产精品婷婷午夜在线观看| 亚洲国产岛国毛片在线| 国产精品第一页第二页第三页| 日韩一区在线免费观看| 一区二区视频在线| 天堂一区二区在线免费观看| 久久电影国产免费久久电影| 极品瑜伽女神91| 成人在线视频一区| 99国内精品久久| 成人app软件下载大全免费| 色视频一区二区| 欧美在线播放高清精品| 在线免费不卡视频| 在线观看91精品国产入口| 这里只有精品免费| 制服丝袜在线91| 日韩一区二区三区电影在线观看 | 欧美三级乱人伦电影| www.日韩大片| 国产一区91精品张津瑜| 国产伦理精品不卡| 一本大道久久a久久精二百 | 国产一二三精品| 国产福利一区二区三区视频在线| 久久国产精品72免费观看| 高清av一区二区| 99久久精品情趣| 日本伦理一区二区| 欧美精品在线一区二区三区| 久久亚洲综合av| 国产欧美精品一区二区色综合| 1区2区3区精品视频| 一区二区在线观看视频| 青青草97国产精品免费观看 | 亚洲四区在线观看| 亚洲gay无套男同| 日本vs亚洲vs韩国一区三区二区| 成人一区二区三区视频在线观看| 99re热视频这里只精品| 欧美日韩大陆一区二区| 欧美精品一区二区蜜臀亚洲| 亚洲精品美腿丝袜| 三级亚洲高清视频| 国产精品一区二区果冻传媒| 99久久久久久| 欧美一区二区三区四区久久| 国产欧美一区在线| 亚洲资源在线观看| 精品一区二区三区在线观看| 一本大道av一区二区在线播放 | 欧美电影在线免费观看| 久久亚洲一级片| 日韩激情av在线| 国产伦精品一区二区三区视频青涩 | 国产精品一区专区| 日本高清不卡在线观看| 日韩欧美在线123| 亚洲精品一线二线三线| 一区二区三区久久久| 久久精品国产亚洲5555| 色妹子一区二区| 久久久另类综合| 国产综合色视频| 欧美日韩精品免费观看视频 | 日韩欧美一级特黄在线播放| 亚洲五码中文字幕| 国产精品一区二区免费不卡| 欧美绝品在线观看成人午夜影视| 国产精品久久久久四虎| 亚洲精品国产视频| 国产精品18久久久久久久久| 69p69国产精品| 亚洲一区二区三区四区在线观看| 久久97超碰国产精品超碰| 欧美午夜理伦三级在线观看| 亚洲国产高清aⅴ视频|