Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,89 @@
/* GetPropertyAction.java
Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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; either version 2, or (at your option)
any later version.
GNU Classpath 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 GNU Classpath; 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 gnu.java.security.action;
import java.security.PrivilegedAction;
/**
* PrivilegedAction implementation that calls System.getProperty() with
* the property name passed to its constructor.
*
* Example of use:
* <code>
* GetPropertyAction action = new GetPropertyAction("http.proxyPort");
* String port = AccessController.doPrivileged(action);
* </code>
*/
public class GetPropertyAction implements PrivilegedAction<String>
{
String name;
String value = null;
public GetPropertyAction()
{
}
public GetPropertyAction(String propName)
{
setParameters(propName);
}
public GetPropertyAction(String propName, String defaultValue)
{
setParameters(propName, defaultValue);
}
public String run()
{
return System.getProperty(name, value);
}
public GetPropertyAction setParameters(String propName)
{
this.name = propName;
this.value = null;
return this;
}
public GetPropertyAction setParameters(String propName, String defaultValue)
{
this.name = propName;
this.value = defaultValue;
return this;
}
}

View File

@@ -0,0 +1,93 @@
/* GetSecurityPropertyAction.java
Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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; either version 2, or (at your option)
any later version.
GNU Classpath 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 GNU Classpath; 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 gnu.java.security.action;
import java.security.PrivilegedAction;
import java.security.Security;
/**
* PrivilegedAction implementation that calls Security.getProperty()
* with the property name passed to its constructor.
*
* Example of use:
* <code>
* GetSecurityPropertyAction action = new GetSecurityPropertyAction("javax.net.ssl.trustStorePassword");
* String passwd = AccessController.doPrivileged(action);
* </code>
*/
public class GetSecurityPropertyAction implements PrivilegedAction<String>
{
private String name;
private String value;
public GetSecurityPropertyAction()
{
}
public GetSecurityPropertyAction(String propName)
{
setParameters(propName);
}
public GetSecurityPropertyAction(String propName, String defaultValue)
{
setParameters(propName, defaultValue);
}
public GetSecurityPropertyAction setParameters(String propName)
{
this.name = propName;
this.value = null;
return this;
}
public GetSecurityPropertyAction setParameters(String propName, String defaultValue)
{
this.name = propName;
this.value = defaultValue;
return this;
}
public String run()
{
String val = Security.getProperty(name);
if (val == null)
val = value;
return val;
}
}

View File

@@ -0,0 +1,77 @@
/* SetAccessibleAction.java
Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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; either version 2, or (at your option)
any later version.
GNU Classpath 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 GNU Classpath; 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 gnu.java.security.action;
import java.lang.reflect.AccessibleObject;
import java.security.PrivilegedAction;
/**
* PrivilegedAction implementation that calls setAccessible(true) on the
* AccessibleObject passed to its constructor.
*
* Example of use:
* <code>
* Field dataField = cl.getDeclaredField("data");
* AccessController.doPrivileged(new SetAccessibleAction(dataField));
* </code>
*/
public class SetAccessibleAction implements PrivilegedAction
{
AccessibleObject member;
public SetAccessibleAction()
{
}
public SetAccessibleAction(AccessibleObject member)
{
this.member = member;
}
public Object run()
{
member.setAccessible(true);
return null;
}
public SetAccessibleAction setMember(AccessibleObject member)
{
this.member = member;
return this;
}
}

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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
}
}

View File

@@ -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
}
}

View File

@@ -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
}
}

View File

@@ -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
}
}

View File

@@ -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
}
}

View File

@@ -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;
}

View File

@@ -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
}
}

View File

@@ -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
}
}

View File

@@ -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
}
}

View File

@@ -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
}
}

View File

@@ -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
}
}

View File

@@ -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 {
}

View File

@@ -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
}
}

View File

@@ -0,0 +1,45 @@
/* AbstractPlayer.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.media.sound;
public class AbstractPlayer
{
}

View File

@@ -0,0 +1,50 @@
/* AutoConnectSequencer.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.media.sound;
import javax.sound.midi.Receiver;
public class AutoConnectSequencer {
public void setAutoConnect(Receiver rec) {
throw new RuntimeException("Not implemented.");
// TODO Auto-generated method stub
}
}

Some files were not shown because too many files have changed in this diff Show More