diff options
author | jfrijters <jfrijters> | 2007-07-30 17:23:42 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2007-07-30 17:23:42 +0400 |
commit | d6cd2d5e9d0459e589204960c916e0fa40eec132 (patch) | |
tree | 9a183a471be313a66fb8a4266d33dd1b69ed9bcc /openjdk/icedtea | |
parent | ae3f42af776498d753feba624433c5e6bbe92189 (diff) |
Integrated OpenJDK javax.management package (and sub packages).
Diffstat (limited to 'openjdk/icedtea')
15 files changed, 1021 insertions, 0 deletions
diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpDataTypeEnums.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpDataTypeEnums.java new file mode 100644 index 00000000..2f8f527e --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpDataTypeEnums.java @@ -0,0 +1,52 @@ +/* SnmpDataTypeEnums.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +public interface SnmpDataTypeEnums { + // Random values chosen to prevent conflicts in switch statements. + final static int IpAddressTag = 01; + final static int CounterTag = 11; + final static int GaugeTag = 21; + final static int TimeticksTag = 31; + final static int OpaqueTag = 41; + int NullTag = 0; + final static int errNoSuchObjectTag = 33; + final static int errNoSuchInstanceTag = 44; + final static int errEndOfMibViewTag = 55; + public static final int Counter64Tag = 0; +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpDefinitions.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpDefinitions.java new file mode 100644 index 00000000..919105c4 --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpDefinitions.java @@ -0,0 +1,83 @@ +/* SnmpDefinitions.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +public interface SnmpDefinitions { + // Random values chosen to prevent conflicts in switch statements. + final int snmpRspNoError = 1230; + final int pduGetRequestPdu = 1; + final int pduGetNextRequestPdu = 2; + final int pduWalkRequest = 3; + final int pduSetRequestPdu = 4; + final int pduV1TrapPdu = 5; + final int pduGetResponsePdu = 6; + final int pduInformRequestPdu = 7; + final int pduGetBulkRequestPdu = 8; + final int pduV2TrapPdu = 9; + int snmpVersionOne = 330; + int snmpVersionTwo = 220; + final int pduReportPdu = 10; + int snmpRspWrongEncoding = 0; + final int snmpReqUnknownError = 110; + final byte noAuthNoPriv = 0; + final byte privMask = 0; + final int snmpVersionThree = 4430; + final int snmpRspGenErr = 0; + final int snmpRspNotWritable = 0; + final byte authPriv = 0; + final int authMask = 0; + final int snmpRspNoSuchName = 10; + final int snmpRspNoAccess = 20; + final int snmpRspReadOnly = 30; + final int snmpRspBadValue = 40; + final int snmpRspWrongValue = 50; + final int snmpRspInconsistentName = 60; + final int snmpRspAuthorizationError = 70; + final int snmpRspNoCreation = 80; + final int snmpRspWrongType = 90; + final int snmpRspWrongLength = 110; + final int snmpRspInconsistentValue = 220; + final int snmpRspResourceUnavailable = 330; + final int snmpRspCommitFailed = 440; + final int snmpRspUndoFailed = 550; + final int snmpRspTooBig = 660; + final int snmpV1SecurityModel = 650; + final int snmpV2SecurityModel = 560; + final int snmpWrongSnmpVersion = 221; + +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpOid.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpOid.java new file mode 100644 index 00000000..a3b69a90 --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpOid.java @@ -0,0 +1,137 @@ +/* SnmpOid.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +public class SnmpOid extends SnmpValue { + + public int componentCount = 0; + public long[] components; + + public SnmpOid() { + } + + public SnmpOid(long[] ls) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + public SnmpOid(String dotAddress) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + public SnmpOid(long b1, long b2, long b3, long b4) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + public SnmpOid(long value) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + @Override + public SnmpValue duplicate() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + @Override + public String getTypeName() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + @Override + public SnmpOid toOid() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public long[] longValue() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public int getLength() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public void append(SnmpOid source) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public void append(int length) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public int compareTo(SnmpOid oid) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public long[] longValue(boolean b) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public long getOidArc(int depth) throws SnmpStatusException { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public Byte[] toByte() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpOidRecord.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpOidRecord.java new file mode 100644 index 00000000..c119c0fb --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpOidRecord.java @@ -0,0 +1,53 @@ +/* SnmpOidRecord.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +public class SnmpOidRecord { + + public SnmpOidRecord(String string, String string2, String string3) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + public String getOid() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpOidTable.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpOidTable.java new file mode 100644 index 00000000..c87cf7f8 --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpOidTable.java @@ -0,0 +1,53 @@ +/* SnmpOidTable.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +public class SnmpOidTable { + + public SnmpOidTable(String string) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + public SnmpOidRecord resolveVarName(String string) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpOidTableSupport.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpOidTableSupport.java new file mode 100644 index 00000000..c29858c8 --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpOidTableSupport.java @@ -0,0 +1,54 @@ +/* SnmpOidTableSupport.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +public class SnmpOidTableSupport extends SnmpOidTable { + + public SnmpOidTableSupport(String string) { + super(string); + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + public void loadMib(SnmpOidRecord[] varList2) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpParameters.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpParameters.java new file mode 100644 index 00000000..9880436b --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpParameters.java @@ -0,0 +1,60 @@ +/* SnmpParameters.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +public class SnmpParameters { + + public String getRdCommunity() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public String getInformCommunity() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public void setRdCommunity(String community) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpPduPacket.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpPduPacket.java new file mode 100644 index 00000000..36381f4c --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpPduPacket.java @@ -0,0 +1,53 @@ +/* SnmpPduPacket.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +import java.net.InetAddress; + +public class SnmpPduPacket extends SnmpPdu { + // Random values chosen to prevent conflicts in switch statements. + public int type; + public final static int pduGetBulkRequestPdu = 223; + public final static int trapAuthenticationFailure = 93764; + public int version; + public int snmpVersionTwo; + public InetAddress address; + public int port; + public byte[] community; + public int requestId; +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpPeer.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpPeer.java new file mode 100644 index 00000000..a6e7f64b --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpPeer.java @@ -0,0 +1,73 @@ +/* SnmpPeer.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +import java.net.InetAddress; + +public class SnmpPeer { + + public SnmpPeer(InetAddress address, int port) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + public SnmpParameters getParams() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public InetAddress getDestAddr() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public int getDestPort() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public void setParams(SnmpParameters p) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpSession.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpSession.java new file mode 100644 index 00000000..c638f2f6 --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpSession.java @@ -0,0 +1,65 @@ +/* SnmpSession.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +import java.net.InetAddress; + +import com.sun.jmx.snmp.daemon.SnmpAdaptorServer; +import com.sun.jmx.snmp.daemon.SnmpInformHandler; +import com.sun.jmx.snmp.daemon.SnmpInformRequest; + +public class SnmpSession { + + public SnmpSession(SnmpAdaptorServer server) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + public SnmpInformRequest makeAsyncRequest(InetAddress addr, String cs, SnmpInformHandler cb, SnmpVarBindList fullVbl, int informPort) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public void destroySession() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpTimeticks.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpTimeticks.java new file mode 100644 index 00000000..d59f20bc --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpTimeticks.java @@ -0,0 +1,74 @@ +/* SnmpTimeticks.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +public class SnmpTimeticks extends SnmpValue { + + public SnmpTimeticks(long l) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + @Override + public SnmpValue duplicate() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + @Override + public String getTypeName() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + @Override + public SnmpOid toOid() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public int longValue() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpVarBind.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpVarBind.java new file mode 100644 index 00000000..1af0a9ce --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpVarBind.java @@ -0,0 +1,74 @@ +/* SnmpVarBind.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +public class SnmpVarBind { + // Random values chosen to prevent conflicts in switch statements. + public final static int errNoSuchObjectTag = 3; + public final static int errNoSuchInstanceTag = 8; + public final static int errEndOfMibViewTag = 9; + public static SnmpValue noSuchObject; + public static SnmpValue noSuchInstance; + public static SnmpValue endOfMibView; + public SnmpValue value; + public SnmpOid oid; + public SnmpVarBind(SnmpOid oid2, SnmpValue value2) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + public SnmpVarBind() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + public void setSnmpValue(SnmpValue value2) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + public void setEndOfMibView() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + public void setNoSuchObject() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpVarBindList.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpVarBindList.java new file mode 100644 index 00000000..515cbdff --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/SnmpVarBindList.java @@ -0,0 +1,82 @@ +/* SnmpVarBindList.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp; + +public class SnmpVarBindList { + + public SnmpVarBindList(int i) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + public SnmpVarBindList() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + public int size() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public void copyInto(SnmpVarBind[] varBindList) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public void insertElementAt(SnmpVarBind bind, int i) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public SnmpVarBindList clone() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public void add(SnmpVarBind varPoolName) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/daemon/SnmpInformRequest.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/daemon/SnmpInformRequest.java new file mode 100644 index 00000000..0c7f8ddf --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/daemon/SnmpInformRequest.java @@ -0,0 +1,42 @@ +/* SnmpInformRequest.java -- stub file + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp.daemon; + +public class SnmpInformRequest { + +} diff --git a/openjdk/icedtea/rt/com/sun/jmx/snmp/daemon/SnmpSession.java b/openjdk/icedtea/rt/com/sun/jmx/snmp/daemon/SnmpSession.java new file mode 100644 index 00000000..8404275f --- /dev/null +++ b/openjdk/icedtea/rt/com/sun/jmx/snmp/daemon/SnmpSession.java @@ -0,0 +1,66 @@ +/* SnmpSession.java -- stub file. + Copyright (C) 2007 Red Hat, Inc. + +This file is part of IcedTea. + +IcedTea is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as published by +the Free Software Foundation, version 2. + +IcedTea is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with IcedTea; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. +*/ + +package com.sun.jmx.snmp.daemon; + +import java.net.InetAddress; + +import com.sun.jmx.snmp.SnmpVarBindList; +import com.sun.jmx.snmp.daemon.SnmpAdaptorServer; +import com.sun.jmx.snmp.daemon.SnmpInformHandler; +import com.sun.jmx.snmp.daemon.SnmpInformRequest; + +public class SnmpSession { + + public SnmpSession(SnmpAdaptorServer server) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated constructor stub + } + + public SnmpInformRequest makeAsyncRequest(InetAddress addr, String cs, SnmpInformHandler cb, SnmpVarBindList fullVbl, int informPort) { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + + public void destroySession() { + throw new RuntimeException("Not implemented."); + // TODO Auto-generated method stub + + } + +} |