Java 类com.sun.jmx.snmp.SnmpPduFactory 实例源码

项目:OpenJSharp    文件:SnmpAdaptorServer.java   
private void createSnmpRequestHandler(SnmpAdaptorServer server,
                                      int id,
                                      DatagramSocket s,
                                      DatagramPacket p,
                                      SnmpMibTree tree,
                                      Vector<SnmpMibAgent> m,
                                      InetAddressAcl a,
                                      SnmpPduFactory factory,
                                      SnmpUserDataFactory dataFactory,
                                      MBeanServer f,
                                      ObjectName n) {
    final SnmpRequestHandler handler =
        new SnmpRequestHandler(this, id, s, p, tree, m, a, factory,
                               dataFactory, f, n);
    threadService.submitTask(handler);
}
项目:OpenJSharp    文件:SnmpRequestHandler.java   
/**
 * Full constructor
 */
public SnmpRequestHandler(SnmpAdaptorServer server, int id,
                          DatagramSocket s, DatagramPacket p,
                          SnmpMibTree tree, Vector<SnmpMibAgent> m,
                          InetAddressAcl a,
                          SnmpPduFactory factory,
                          SnmpUserDataFactory dataFactory,
                          MBeanServer f, ObjectName n)
{
    super(server, id, f, n);

    // Need a reference on SnmpAdaptorServer for getNext & getBulk,
    // in case of oid equality (mib overlapping).
    //
    adaptor = server;
    socket = s;
    packet = p;
    root= tree;
    mibs = new Vector<>(m);
    subs= new Hashtable<>(mibs.size());
    ipacl = a;
    pduFactory = factory ;
    userDataFactory = dataFactory ;
    //thread.start();
}
项目:jdk8u-jdk    文件:SnmpAdaptorServer.java   
private void createSnmpRequestHandler(SnmpAdaptorServer server,
                                      int id,
                                      DatagramSocket s,
                                      DatagramPacket p,
                                      SnmpMibTree tree,
                                      Vector<SnmpMibAgent> m,
                                      InetAddressAcl a,
                                      SnmpPduFactory factory,
                                      SnmpUserDataFactory dataFactory,
                                      MBeanServer f,
                                      ObjectName n) {
    final SnmpRequestHandler handler =
        new SnmpRequestHandler(this, id, s, p, tree, m, a, factory,
                               dataFactory, f, n);
    threadService.submitTask(handler);
}
项目:jdk8u-jdk    文件:SnmpRequestHandler.java   
/**
 * Full constructor
 */
public SnmpRequestHandler(SnmpAdaptorServer server, int id,
                          DatagramSocket s, DatagramPacket p,
                          SnmpMibTree tree, Vector<SnmpMibAgent> m,
                          InetAddressAcl a,
                          SnmpPduFactory factory,
                          SnmpUserDataFactory dataFactory,
                          MBeanServer f, ObjectName n)
{
    super(server, id, f, n);

    // Need a reference on SnmpAdaptorServer for getNext & getBulk,
    // in case of oid equality (mib overlapping).
    //
    adaptor = server;
    socket = s;
    packet = p;
    root= tree;
    mibs = new Vector<>(m);
    subs= new Hashtable<>(mibs.size());
    ipacl = a;
    pduFactory = factory ;
    userDataFactory = dataFactory ;
    //thread.start();
}
项目:jdk8u_jdk    文件:SnmpAdaptorServer.java   
private void createSnmpRequestHandler(SnmpAdaptorServer server,
                                      int id,
                                      DatagramSocket s,
                                      DatagramPacket p,
                                      SnmpMibTree tree,
                                      Vector<SnmpMibAgent> m,
                                      InetAddressAcl a,
                                      SnmpPduFactory factory,
                                      SnmpUserDataFactory dataFactory,
                                      MBeanServer f,
                                      ObjectName n) {
    final SnmpRequestHandler handler =
        new SnmpRequestHandler(this, id, s, p, tree, m, a, factory,
                               dataFactory, f, n);
    threadService.submitTask(handler);
}
项目:jdk8u_jdk    文件:SnmpRequestHandler.java   
/**
 * Full constructor
 */
public SnmpRequestHandler(SnmpAdaptorServer server, int id,
                          DatagramSocket s, DatagramPacket p,
                          SnmpMibTree tree, Vector<SnmpMibAgent> m,
                          InetAddressAcl a,
                          SnmpPduFactory factory,
                          SnmpUserDataFactory dataFactory,
                          MBeanServer f, ObjectName n)
{
    super(server, id, f, n);

    // Need a reference on SnmpAdaptorServer for getNext & getBulk,
    // in case of oid equality (mib overlapping).
    //
    adaptor = server;
    socket = s;
    packet = p;
    root= tree;
    mibs = new Vector<>(m);
    subs= new Hashtable<>(mibs.size());
    ipacl = a;
    pduFactory = factory ;
    userDataFactory = dataFactory ;
    //thread.start();
}
项目:lookaside_java-1.8.0-openjdk    文件:SnmpAdaptorServer.java   
private void createSnmpRequestHandler(SnmpAdaptorServer server,
                                      int id,
                                      DatagramSocket s,
                                      DatagramPacket p,
                                      SnmpMibTree tree,
                                      Vector<SnmpMibAgent> m,
                                      InetAddressAcl a,
                                      SnmpPduFactory factory,
                                      SnmpUserDataFactory dataFactory,
                                      MBeanServer f,
                                      ObjectName n) {
    final SnmpRequestHandler handler =
        new SnmpRequestHandler(this, id, s, p, tree, m, a, factory,
                               dataFactory, f, n);
    threadService.submitTask(handler);
}
项目:lookaside_java-1.8.0-openjdk    文件:SnmpRequestHandler.java   
/**
 * Full constructor
 */
public SnmpRequestHandler(SnmpAdaptorServer server, int id,
                          DatagramSocket s, DatagramPacket p,
                          SnmpMibTree tree, Vector<SnmpMibAgent> m,
                          InetAddressAcl a,
                          SnmpPduFactory factory,
                          SnmpUserDataFactory dataFactory,
                          MBeanServer f, ObjectName n)
{
    super(server, id, f, n);

    // Need a reference on SnmpAdaptorServer for getNext & getBulk,
    // in case of oid equality (mib overlapping).
    //
    adaptor = server;
    socket = s;
    packet = p;
    root= tree;
    mibs = new Vector<>(m);
    subs= new Hashtable<>(mibs.size());
    ipacl = a;
    pduFactory = factory ;
    userDataFactory = dataFactory ;
    //thread.start();
}
项目:infobip-open-jdk-8    文件:SnmpAdaptorServer.java   
private void createSnmpRequestHandler(SnmpAdaptorServer server,
                                      int id,
                                      DatagramSocket s,
                                      DatagramPacket p,
                                      SnmpMibTree tree,
                                      Vector<SnmpMibAgent> m,
                                      InetAddressAcl a,
                                      SnmpPduFactory factory,
                                      SnmpUserDataFactory dataFactory,
                                      MBeanServer f,
                                      ObjectName n) {
    final SnmpRequestHandler handler =
        new SnmpRequestHandler(this, id, s, p, tree, m, a, factory,
                               dataFactory, f, n);
    threadService.submitTask(handler);
}
项目:infobip-open-jdk-8    文件:SnmpRequestHandler.java   
/**
 * Full constructor
 */
public SnmpRequestHandler(SnmpAdaptorServer server, int id,
                          DatagramSocket s, DatagramPacket p,
                          SnmpMibTree tree, Vector<SnmpMibAgent> m,
                          InetAddressAcl a,
                          SnmpPduFactory factory,
                          SnmpUserDataFactory dataFactory,
                          MBeanServer f, ObjectName n)
{
    super(server, id, f, n);

    // Need a reference on SnmpAdaptorServer for getNext & getBulk,
    // in case of oid equality (mib overlapping).
    //
    adaptor = server;
    socket = s;
    packet = p;
    root= tree;
    mibs = new Vector<>(m);
    subs= new Hashtable<>(mibs.size());
    ipacl = a;
    pduFactory = factory ;
    userDataFactory = dataFactory ;
    //thread.start();
}
项目:jdk8u-dev-jdk    文件:SnmpAdaptorServer.java   
private void createSnmpRequestHandler(SnmpAdaptorServer server,
                                      int id,
                                      DatagramSocket s,
                                      DatagramPacket p,
                                      SnmpMibTree tree,
                                      Vector<SnmpMibAgent> m,
                                      InetAddressAcl a,
                                      SnmpPduFactory factory,
                                      SnmpUserDataFactory dataFactory,
                                      MBeanServer f,
                                      ObjectName n) {
    final SnmpRequestHandler handler =
        new SnmpRequestHandler(this, id, s, p, tree, m, a, factory,
                               dataFactory, f, n);
    threadService.submitTask(handler);
}
项目:jdk8u-dev-jdk    文件:SnmpRequestHandler.java   
/**
 * Full constructor
 */
public SnmpRequestHandler(SnmpAdaptorServer server, int id,
                          DatagramSocket s, DatagramPacket p,
                          SnmpMibTree tree, Vector<SnmpMibAgent> m,
                          InetAddressAcl a,
                          SnmpPduFactory factory,
                          SnmpUserDataFactory dataFactory,
                          MBeanServer f, ObjectName n)
{
    super(server, id, f, n);

    // Need a reference on SnmpAdaptorServer for getNext & getBulk,
    // in case of oid equality (mib overlapping).
    //
    adaptor = server;
    socket = s;
    packet = p;
    root= tree;
    mibs = new Vector<>(m);
    subs= new Hashtable<>(mibs.size());
    ipacl = a;
    pduFactory = factory ;
    userDataFactory = dataFactory ;
    //thread.start();
}
项目:jdk7-jdk    文件:SnmpRequestHandler.java   
/**
 * Full constructor
 */
public SnmpRequestHandler(SnmpAdaptorServer server, int id,
                          DatagramSocket s, DatagramPacket p,
                          SnmpMibTree tree, Vector m, Object a,
                          SnmpPduFactory factory,
                          SnmpUserDataFactory dataFactory,
                          MBeanServer f, ObjectName n)
{
    super(server, id, f, n);

    // Need a reference on SnmpAdaptorServer for getNext & getBulk,
    // in case of oid equality (mib overlapping).
    //
    adaptor = server;
    socket = s;
    packet = p;
    root= tree;
    mibs = (Vector) m.clone();
    subs= new Hashtable<SnmpMibAgent, SnmpSubRequestHandler>(mibs.size());
    ipacl = a;
    pduFactory = factory ;
    userDataFactory = dataFactory ;
    //thread.start();
}
项目:openjdk-source-code-learn    文件:SnmpRequestHandler.java   
/**
 * Full constructor
 */
public SnmpRequestHandler(SnmpAdaptorServer server, int id,
                          DatagramSocket s, DatagramPacket p,
                          SnmpMibTree tree, Vector m, Object a,
                          SnmpPduFactory factory,
                          SnmpUserDataFactory dataFactory,
                          MBeanServer f, ObjectName n)
{
    super(server, id, f, n);

    // Need a reference on SnmpAdaptorServer for getNext & getBulk,
    // in case of oid equality (mib overlapping).
    //
    adaptor = server;
    socket = s;
    packet = p;
    root= tree;
    mibs = (Vector) m.clone();
    subs= new Hashtable<SnmpMibAgent, SnmpSubRequestHandler>(mibs.size());
    ipacl = a;
    pduFactory = factory ;
    userDataFactory = dataFactory ;
    //thread.start();
}
项目:OLD-OpenJDK8    文件:SnmpAdaptorServer.java   
private void createSnmpRequestHandler(SnmpAdaptorServer server,
                                      int id,
                                      DatagramSocket s,
                                      DatagramPacket p,
                                      SnmpMibTree tree,
                                      Vector<SnmpMibAgent> m,
                                      InetAddressAcl a,
                                      SnmpPduFactory factory,
                                      SnmpUserDataFactory dataFactory,
                                      MBeanServer f,
                                      ObjectName n) {
    final SnmpRequestHandler handler =
        new SnmpRequestHandler(this, id, s, p, tree, m, a, factory,
                               dataFactory, f, n);
    threadService.submitTask(handler);
}
项目:OLD-OpenJDK8    文件:SnmpRequestHandler.java   
/**
 * Full constructor
 */
public SnmpRequestHandler(SnmpAdaptorServer server, int id,
                          DatagramSocket s, DatagramPacket p,
                          SnmpMibTree tree, Vector<SnmpMibAgent> m,
                          InetAddressAcl a,
                          SnmpPduFactory factory,
                          SnmpUserDataFactory dataFactory,
                          MBeanServer f, ObjectName n)
{
    super(server, id, f, n);

    // Need a reference on SnmpAdaptorServer for getNext & getBulk,
    // in case of oid equality (mib overlapping).
    //
    adaptor = server;
    socket = s;
    packet = p;
    root= tree;
    mibs = new Vector<>(m);
    subs= new Hashtable<>(mibs.size());
    ipacl = a;
    pduFactory = factory ;
    userDataFactory = dataFactory ;
    //thread.start();
}
项目:openjdk-jdk7u-jdk    文件:SnmpRequestHandler.java   
/**
 * Full constructor
 */
public SnmpRequestHandler(SnmpAdaptorServer server, int id,
                          DatagramSocket s, DatagramPacket p,
                          SnmpMibTree tree, Vector m, Object a,
                          SnmpPduFactory factory,
                          SnmpUserDataFactory dataFactory,
                          MBeanServer f, ObjectName n)
{
    super(server, id, f, n);

    // Need a reference on SnmpAdaptorServer for getNext & getBulk,
    // in case of oid equality (mib overlapping).
    //
    adaptor = server;
    socket = s;
    packet = p;
    root= tree;
    mibs = (Vector) m.clone();
    subs= new Hashtable<SnmpMibAgent, SnmpSubRequestHandler>(mibs.size());
    ipacl = a;
    pduFactory = factory ;
    userDataFactory = dataFactory ;
    //thread.start();
}
项目:OpenJSharp    文件:SnmpAdaptorServer.java   
/**
 * Sets the message factory of this SNMP protocol adaptor.
 *
 * @param factory The factory object (null means the default factory).
 */
@Override
public void setPduFactory(SnmpPduFactory factory) {
    if (factory == null)
        pduFactory = new SnmpPduFactoryBER() ;
    else
        pduFactory = factory ;
}
项目:jdk8u-jdk    文件:SnmpAdaptorServer.java   
/**
 * Sets the message factory of this SNMP protocol adaptor.
 *
 * @param factory The factory object (null means the default factory).
 */
@Override
public void setPduFactory(SnmpPduFactory factory) {
    if (factory == null)
        pduFactory = new SnmpPduFactoryBER() ;
    else
        pduFactory = factory ;
}
项目:jdk8u_jdk    文件:SnmpAdaptorServer.java   
/**
 * Sets the message factory of this SNMP protocol adaptor.
 *
 * @param factory The factory object (null means the default factory).
 */
@Override
public void setPduFactory(SnmpPduFactory factory) {
    if (factory == null)
        pduFactory = new SnmpPduFactoryBER() ;
    else
        pduFactory = factory ;
}
项目:lookaside_java-1.8.0-openjdk    文件:SnmpAdaptorServer.java   
/**
 * Sets the message factory of this SNMP protocol adaptor.
 *
 * @param factory The factory object (null means the default factory).
 */
@Override
public void setPduFactory(SnmpPduFactory factory) {
    if (factory == null)
        pduFactory = new SnmpPduFactoryBER() ;
    else
        pduFactory = factory ;
}
项目:infobip-open-jdk-8    文件:SnmpAdaptorServer.java   
/**
 * Sets the message factory of this SNMP protocol adaptor.
 *
 * @param factory The factory object (null means the default factory).
 */
@Override
public void setPduFactory(SnmpPduFactory factory) {
    if (factory == null)
        pduFactory = new SnmpPduFactoryBER() ;
    else
        pduFactory = factory ;
}
项目:jdk8u-dev-jdk    文件:SnmpAdaptorServer.java   
/**
 * Sets the message factory of this SNMP protocol adaptor.
 *
 * @param factory The factory object (null means the default factory).
 */
@Override
public void setPduFactory(SnmpPduFactory factory) {
    if (factory == null)
        pduFactory = new SnmpPduFactoryBER() ;
    else
        pduFactory = factory ;
}
项目:jdk7-jdk    文件:SnmpAdaptorServer.java   
/**
 * Sets the message factory of this SNMP protocol adaptor.
 *
 * @param factory The factory object (null means the default factory).
 */
public void setPduFactory(SnmpPduFactory factory) {
    if (factory == null)
        pduFactory = new SnmpPduFactoryBER() ;
    else
        pduFactory = factory ;
}
项目:jdk7-jdk    文件:SnmpAdaptorServer.java   
void createSnmpRequestHandler(SnmpAdaptorServer server, int id,
                              DatagramSocket s, DatagramPacket p,
                              SnmpMibTree tree, Vector m, Object a,
                              SnmpPduFactory factory,
                              SnmpUserDataFactory dataFactory,
                              MBeanServer f, ObjectName n) {
    final SnmpRequestHandler handler =
        new SnmpRequestHandler(this, id, s, p, tree, m, a, factory,
                               dataFactory, f, n);
    threadService.submitTask(handler);
}
项目:openjdk-source-code-learn    文件:SnmpAdaptorServer.java   
/**
 * Sets the message factory of this SNMP protocol adaptor.
 *
 * @param factory The factory object (null means the default factory).
 */
public void setPduFactory(SnmpPduFactory factory) {
    if (factory == null)
        pduFactory = new SnmpPduFactoryBER() ;
    else
        pduFactory = factory ;
}
项目:openjdk-source-code-learn    文件:SnmpAdaptorServer.java   
void createSnmpRequestHandler(SnmpAdaptorServer server, int id,
                              DatagramSocket s, DatagramPacket p,
                              SnmpMibTree tree, Vector m, Object a,
                              SnmpPduFactory factory,
                              SnmpUserDataFactory dataFactory,
                              MBeanServer f, ObjectName n) {
    final SnmpRequestHandler handler =
        new SnmpRequestHandler(this, id, s, p, tree, m, a, factory,
                               dataFactory, f, n);
    threadService.submitTask(handler);
}
项目:OLD-OpenJDK8    文件:SnmpAdaptorServer.java   
/**
 * Sets the message factory of this SNMP protocol adaptor.
 *
 * @param factory The factory object (null means the default factory).
 */
@Override
public void setPduFactory(SnmpPduFactory factory) {
    if (factory == null)
        pduFactory = new SnmpPduFactoryBER() ;
    else
        pduFactory = factory ;
}
项目:openjdk-jdk7u-jdk    文件:SnmpAdaptorServer.java   
/**
 * Sets the message factory of this SNMP protocol adaptor.
 *
 * @param factory The factory object (null means the default factory).
 */
public void setPduFactory(SnmpPduFactory factory) {
    if (factory == null)
        pduFactory = new SnmpPduFactoryBER() ;
    else
        pduFactory = factory ;
}
项目:openjdk-jdk7u-jdk    文件:SnmpAdaptorServer.java   
void createSnmpRequestHandler(SnmpAdaptorServer server, int id,
                              DatagramSocket s, DatagramPacket p,
                              SnmpMibTree tree, Vector m, Object a,
                              SnmpPduFactory factory,
                              SnmpUserDataFactory dataFactory,
                              MBeanServer f, ObjectName n) {
    final SnmpRequestHandler handler =
        new SnmpRequestHandler(this, id, s, p, tree, m, a, factory,
                               dataFactory, f, n);
    threadService.submitTask(handler);
}
项目:OpenJSharp    文件:SnmpAdaptorServer.java   
/**
 * Returns the message factory of this SNMP protocol adaptor.
 *
 * @return The factory object.
 */
@Override
public SnmpPduFactory getPduFactory() {
    return pduFactory ;
}
项目:OpenJSharp    文件:SnmpAdaptorServerMBean.java   
/**
 * Returns the message factory of this SNMP protocol adaptor.
 *
 * @return The factory object.
 */
public SnmpPduFactory getPduFactory();
项目:OpenJSharp    文件:SnmpAdaptorServerMBean.java   
/**
 * Sets the message factory of this SNMP protocol adaptor.
 *
 * @param factory The factory object (null means the default factory).
 */
public void setPduFactory(SnmpPduFactory factory);
项目:OpenJSharp    文件:SnmpMsgProcessingSubSystem.java   
/**
 * This method is called when a call is received from the network.
 * @param model The model ID.
 * @param factory The pdu factory to use to encode and decode pdu.
 * @return The object that will handle every steps of the receiving (mainly unmarshalling and security).
 */
public SnmpIncomingRequest getIncomingRequest(int model,
                                              SnmpPduFactory factory)
    throws SnmpUnknownMsgProcModelException;
项目:OpenJSharp    文件:SnmpMsgProcessingSubSystem.java   
/**
 * This method is called when a call is to be sent to the network. The sub system routes the call to the dedicated model according to the model ID.
 * @param model The model ID.
 * @param factory The pdu factory to use to encode and decode pdu.
 * @return The object that will handle every steps of the sending (mainly marshalling and security).
 */
public SnmpOutgoingRequest getOutgoingRequest(int model,
                                              SnmpPduFactory factory) throws SnmpUnknownMsgProcModelException ;
项目:OpenJSharp    文件:SnmpMsgProcessingSubSystem.java   
/**
 * This method is called when a call is received from the network. The sub system routes the call to the dedicated model according to the model ID.
 * @param model The model ID.
 * @param factory The pdu factory to use to decode pdu.
 * @return The object that will handle every steps of the receiving (mainly marshalling and security).
 */
public SnmpIncomingResponse getIncomingResponse(int model,
                                                SnmpPduFactory factory) throws SnmpUnknownMsgProcModelException;
项目:OpenJSharp    文件:SnmpMsgProcessingModel.java   
/**
 * This method is called when a call is to be sent to the network.
 * @param factory The pdu factory to use to encode and decode pdu.
 * @return The object that will handle every steps of the sending (mainly marshalling and security).
 */
public SnmpOutgoingRequest getOutgoingRequest(SnmpPduFactory factory);
项目:OpenJSharp    文件:SnmpMsgProcessingModel.java   
/**
 * This method is called when a call is received from the network.
 * @param factory The pdu factory to use to encode and decode pdu.
 * @return The object that will handle every steps of the receiving (mainly unmarshalling and security).
 */
public SnmpIncomingRequest getIncomingRequest(SnmpPduFactory factory);
项目:OpenJSharp    文件:SnmpMsgProcessingModel.java   
/**
 * This method is called when a response is received from the network.
 * @param factory The pdu factory to use to encode and decode pdu.
 * @return The object that will handle every steps of the receiving (mainly unmarshalling and security).
 */
public SnmpIncomingResponse getIncomingResponse(SnmpPduFactory factory);
项目:jdk8u-jdk    文件:SnmpAdaptorServer.java   
/**
 * Returns the message factory of this SNMP protocol adaptor.
 *
 * @return The factory object.
 */
@Override
public SnmpPduFactory getPduFactory() {
    return pduFactory ;
}