generated asn.1 classes using newest version of jasn1-compiler 1.9.0

pull/4/head
Stefan Feuerhahn 8 years ago
parent 370ce99967
commit ba8f0c969e

@ -1,5 +1,5 @@
#!/bin/sh
rm -r ../../src/main/java-gen/*
rm -r ../../src/main/java-gen/org/openmuc/openiec61850/internal/mms/asn1/*
jasn1-compiler -o "../../src/main/java-gen" -p "org.openmuc.openiec61850.internal.mms" -f mms.asn

@ -83,7 +83,7 @@ def projectName = 'OpenIEC61850'
dependencies {
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'org.openmuc', name: 'jasn1-61850mod', version: '1.8.3-SNAPSHOT'
compile group: 'org.openmuc', name: 'jasn1', version: '1.9.0'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'com.toedter', name: 'jcalendar', version: '1.4'
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
@ -155,11 +156,11 @@ public class AAREApdu implements Serializable {
return userInformation;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -450,7 +451,7 @@ public class AAREApdu implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
@ -173,11 +174,11 @@ public class AARQApdu implements Serializable {
return userInformation;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -510,7 +511,7 @@ public class AARQApdu implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,15 +1,16 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class ACSEApdu implements Serializable {
@ -60,7 +61,7 @@ public class ACSEApdu implements Serializable {
return rlre;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -139,7 +140,7 @@ public class ACSEApdu implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
@ -21,4 +21,8 @@ public class ACSERequirements extends BerBitString {
super(value, numBits);
}
public ACSERequirements(boolean[] value) {
super(value);
}
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;

@ -1,15 +1,16 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger;
public class AEQualifier implements Serializable {
@ -34,7 +35,7 @@ public class AEQualifier implements Serializable {
return aeQualifierForm2;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -80,7 +81,7 @@ public class AEQualifier implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;

@ -1,15 +1,16 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
public class AETitle implements Serializable {
@ -34,7 +35,7 @@ public class AETitle implements Serializable {
return aeTitleForm2;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -80,7 +81,7 @@ public class AETitle implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;

@ -1,15 +1,16 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
public class APTitle implements Serializable {
@ -34,7 +35,7 @@ public class APTitle implements Serializable {
return apTitleForm2;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -80,7 +81,7 @@ public class APTitle implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;

@ -1,19 +1,20 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class ApplicationContextNameList implements Serializable {
@ -38,11 +39,11 @@ public class ApplicationContextNameList implements Serializable {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -99,7 +100,7 @@ public class ApplicationContextNameList implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger;
public class AssociateSourceDiagnostic implements Serializable {
@ -44,7 +45,7 @@ public class AssociateSourceDiagnostic implements Serializable {
return acseServiceProvider;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -115,7 +116,7 @@ public class AssociateSourceDiagnostic implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,19 +1,20 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class AssociationInformation implements Serializable {
@ -38,11 +39,11 @@ public class AssociationInformation implements Serializable {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -99,7 +100,7 @@ public class AssociationInformation implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,15 +1,16 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.string.BerGraphicString;
@ -53,7 +54,7 @@ public class AuthenticationValue implements Serializable {
return external;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -130,7 +131,7 @@ public class AuthenticationValue implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerAny;
import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.BerInteger;
@ -61,7 +62,7 @@ public class Myexternal implements Serializable {
return arbitrary;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -143,7 +144,7 @@ public class Myexternal implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@ -215,11 +216,11 @@ public class Myexternal implements Serializable {
return encoding;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -295,7 +296,7 @@ public class Myexternal implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerAny;
import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.BerInteger;
@ -61,7 +62,7 @@ public class Myexternal2 implements Serializable {
return arbitrary;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -143,7 +144,7 @@ public class Myexternal2 implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@ -215,11 +216,11 @@ public class Myexternal2 implements Serializable {
return encoding;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -295,7 +296,7 @@ public class Myexternal2 implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class RLREApdu implements Serializable {
@ -45,11 +46,11 @@ public class RLREApdu implements Serializable {
return userInformation;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -131,7 +132,7 @@ public class RLREApdu implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class RLRQApdu implements Serializable {
@ -45,11 +46,11 @@ public class RLRQApdu implements Serializable {
return userInformation;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -131,7 +132,7 @@ public class RLRQApdu implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.acse.asn1;

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
public class AbstractSyntaxName extends BerObjectIdentifier {
private static final long serialVersionUID = 1L;
public AbstractSyntaxName() {
}

@ -1,19 +1,25 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class CPAPPDU {
public class CPAPPDU implements Serializable {
public static class NormalModeParameters {
private static final long serialVersionUID = 1L;
public static class NormalModeParameters implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16);
@ -81,11 +87,11 @@ public class CPAPPDU {
return userData;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -227,23 +233,37 @@ public class CPAPPDU {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{");
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
boolean firstSelectedElement = true;
if (protocolVersion != null) {
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("protocolVersion: ").append(protocolVersion);
firstSelectedElement = false;
}
if (respondingPresentationSelector != null) {
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("respondingPresentationSelector: ").append(respondingPresentationSelector);
firstSelectedElement = false;
@ -251,15 +271,22 @@ public class CPAPPDU {
if (presentationContextDefinitionResultList != null) {
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("presentationContextDefinitionResultList: ").append(presentationContextDefinitionResultList);
sb.append("presentationContextDefinitionResultList: ");
presentationContextDefinitionResultList.appendAsString(sb, indentLevel + 1);
firstSelectedElement = false;
}
if (presentationRequirements != null) {
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("presentationRequirements: ").append(presentationRequirements);
firstSelectedElement = false;
@ -267,7 +294,10 @@ public class CPAPPDU {
if (userSessionRequirements != null) {
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("userSessionRequirements: ").append(userSessionRequirements);
firstSelectedElement = false;
@ -275,14 +305,21 @@ public class CPAPPDU {
if (userData != null) {
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("userData: ").append(userData);
sb.append("userData: ");
userData.appendAsString(sb, indentLevel + 1);
firstSelectedElement = false;
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}
@ -316,11 +353,11 @@ public class CPAPPDU {
return normalModeParameters;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -394,23 +431,47 @@ public class CPAPPDU {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{");
sb.append("modeSelector: ").append(modeSelector);
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (modeSelector != null) {
sb.append("modeSelector: ");
modeSelector.appendAsString(sb, indentLevel + 1);
}
else {
sb.append("modeSelector: <empty-required-field>");
}
if (normalModeParameters != null) {
sb.append(", ");
sb.append("normalModeParameters: ").append(normalModeParameters);
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("normalModeParameters: ");
normalModeParameters.appendAsString(sb, indentLevel + 1);
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}

@ -1,19 +1,25 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class CPType {
public class CPType implements Serializable {
public static class NormalModeParameters {
private static final long serialVersionUID = 1L;
public static class NormalModeParameters implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16);
@ -99,11 +105,11 @@ public class CPType {
return userData;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -277,23 +283,37 @@ public class CPType {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{");
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
boolean firstSelectedElement = true;
if (protocolVersion != null) {
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("protocolVersion: ").append(protocolVersion);
firstSelectedElement = false;
}
if (callingPresentationSelector != null) {
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("callingPresentationSelector: ").append(callingPresentationSelector);
firstSelectedElement = false;
@ -301,7 +321,10 @@ public class CPType {
if (calledPresentationSelector != null) {
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("calledPresentationSelector: ").append(calledPresentationSelector);
firstSelectedElement = false;
@ -309,23 +332,34 @@ public class CPType {
if (presentationContextDefinitionList != null) {
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("presentationContextDefinitionList: ").append(presentationContextDefinitionList);
sb.append("presentationContextDefinitionList: ");
presentationContextDefinitionList.appendAsString(sb, indentLevel + 1);
firstSelectedElement = false;
}
if (defaultContextName != null) {
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
sb.append("defaultContextName: ").append(defaultContextName);
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("defaultContextName: ");
defaultContextName.appendAsString(sb, indentLevel + 1);
firstSelectedElement = false;
}
if (presentationRequirements != null) {
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("presentationRequirements: ").append(presentationRequirements);
firstSelectedElement = false;
@ -333,7 +367,10 @@ public class CPType {
if (userSessionRequirements != null) {
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("userSessionRequirements: ").append(userSessionRequirements);
firstSelectedElement = false;
@ -341,14 +378,21 @@ public class CPType {
if (userData != null) {
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
sb.append("userData: ").append(userData);
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("userData: ");
userData.appendAsString(sb, indentLevel + 1);
firstSelectedElement = false;
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}
@ -382,11 +426,11 @@ public class CPType {
return normalModeParameters;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -460,23 +504,47 @@ public class CPType {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{");
sb.append("modeSelector: ").append(modeSelector);
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (modeSelector != null) {
sb.append("modeSelector: ");
modeSelector.appendAsString(sb, indentLevel + 1);
}
else {
sb.append("modeSelector: <empty-required-field>");
}
if (normalModeParameters != null) {
sb.append(", ");
sb.append("normalModeParameters: ").append(normalModeParameters);
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("normalModeParameters: ");
normalModeParameters.appendAsString(sb, indentLevel + 1);
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}

@ -1,11 +1,13 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
public class CalledPresentationSelector extends PresentationSelector {
private static final long serialVersionUID = 1L;
public CalledPresentationSelector() {
}

@ -1,11 +1,13 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
public class CallingPresentationSelector extends PresentationSelector {
private static final long serialVersionUID = 1L;
public CallingPresentationSelector() {
}

@ -1,26 +1,34 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger;
import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
public class ContextList {
public class ContextList implements Serializable {
public static class SEQUENCE {
private static final long serialVersionUID = 1L;
public static class TransferSyntaxNameList {
public static class SEQUENCE implements Serializable {
private static final long serialVersionUID = 1L;
public static class TransferSyntaxNameList implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16);
public byte[] code = null;
@ -41,11 +49,11 @@ public class ContextList {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -78,7 +86,6 @@ public class ContextList {
public int decode(InputStream is, boolean withTag) throws IOException {
int codeLength = 0;
int subCodeLength = 0;
BerTag berTag = new BerTag();
if (withTag) {
codeLength += tag.decodeAndCheck(is);
}
@ -103,15 +110,24 @@ public class ContextList {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE OF{");
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (seqOf == null) {
sb.append("null");
}
@ -120,14 +136,20 @@ public class ContextList {
if (it.hasNext()) {
sb.append(it.next());
while (it.hasNext()) {
sb.append(", ").append(it.next());
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append(it.next());
}
}
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}
@ -170,11 +192,11 @@ public class ContextList {
return transferSyntaxNameList;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -254,24 +276,60 @@ public class ContextList {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{");
sb.append("presentationContextIdentifier: ").append(presentationContextIdentifier);
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (presentationContextIdentifier != null) {
sb.append("presentationContextIdentifier: ").append(presentationContextIdentifier);
}
else {
sb.append("presentationContextIdentifier: <empty-required-field>");
}
sb.append(", ");
sb.append("abstractSyntaxName: ").append(abstractSyntaxName);
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (abstractSyntaxName != null) {
sb.append("abstractSyntaxName: ").append(abstractSyntaxName);
}
else {
sb.append("abstractSyntaxName: <empty-required-field>");
}
sb.append(", ");
sb.append("transferSyntaxNameList: ").append(transferSyntaxNameList);
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (transferSyntaxNameList != null) {
sb.append("transferSyntaxNameList: ");
transferSyntaxNameList.appendAsString(sb, indentLevel + 1);
}
else {
sb.append("transferSyntaxNameList: <empty-required-field>");
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}
@ -295,11 +353,11 @@ public class ContextList {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -332,7 +390,6 @@ public class ContextList {
public int decode(InputStream is, boolean withTag) throws IOException {
int codeLength = 0;
int subCodeLength = 0;
BerTag berTag = new BerTag();
if (withTag) {
codeLength += tag.decodeAndCheck(is);
}
@ -357,31 +414,46 @@ public class ContextList {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE OF{");
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (seqOf == null) {
sb.append("null");
}
else {
Iterator<SEQUENCE> it = seqOf.iterator();
if (it.hasNext()) {
sb.append(it.next());
it.next().appendAsString(sb, indentLevel + 1);
while (it.hasNext()) {
sb.append(", ").append(it.next());
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
it.next().appendAsString(sb, indentLevel + 1);
}
}
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}

@ -1,17 +1,21 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class DefaultContextName {
public class DefaultContextName implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16);
@ -42,11 +46,11 @@ public class DefaultContextName {
return transferSyntaxName;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -121,21 +125,48 @@ public class DefaultContextName {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{");
sb.append("abstractSyntaxName: ").append(abstractSyntaxName);
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append(", ");
sb.append("transferSyntaxName: ").append(transferSyntaxName);
sb.append("{");
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (abstractSyntaxName != null) {
sb.append("abstractSyntaxName: ").append(abstractSyntaxName);
}
else {
sb.append("abstractSyntaxName: <empty-required-field>");
}
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (transferSyntaxName != null) {
sb.append("transferSyntaxName: ").append(transferSyntaxName);
}
else {
sb.append("transferSyntaxName: <empty-required-field>");
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}

@ -1,20 +1,24 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class FullyEncodedData {
public class FullyEncodedData implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16);
public byte[] code = null;
@ -35,11 +39,11 @@ public class FullyEncodedData {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -72,7 +76,6 @@ public class FullyEncodedData {
public int decode(InputStream is, boolean withTag) throws IOException {
int codeLength = 0;
int subCodeLength = 0;
BerTag berTag = new BerTag();
if (withTag) {
codeLength += tag.decodeAndCheck(is);
}
@ -97,31 +100,46 @@ public class FullyEncodedData {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE OF{");
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (seqOf == null) {
sb.append("null");
}
else {
Iterator<PDVList> it = seqOf.iterator();
if (it.hasNext()) {
sb.append(it.next());
it.next().appendAsString(sb, indentLevel + 1);
while (it.hasNext()) {
sb.append(", ").append(it.next());
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
it.next().appendAsString(sb, indentLevel + 1);
}
}
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}

@ -1,18 +1,22 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger;
public class ModeSelector {
public class ModeSelector implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 17);
@ -34,11 +38,11 @@ public class ModeSelector {
return modeValue;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -101,18 +105,37 @@ public class ModeSelector {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{");
sb.append("modeValue: ").append(modeValue);
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (modeValue != null) {
sb.append("modeValue: ").append(modeValue);
}
else {
sb.append("modeValue: <empty-required-field>");
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}

@ -1,24 +1,30 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerAny;
import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.BerInteger;
import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
import org.openmuc.jasn1.ber.types.BerOctetString;
public class PDVList {
public class PDVList implements Serializable {
public static class PresentationDataValues {
private static final long serialVersionUID = 1L;
public static class PresentationDataValues implements Serializable {
private static final long serialVersionUID = 1L;
public byte[] code = null;
private BerAny singleASN1Type = null;
@ -56,7 +62,7 @@ public class PDVList {
return arbitrary;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -138,26 +144,36 @@ public class PDVList {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
if (singleASN1Type != null) {
return "CHOICE{singleASN1Type: " + singleASN1Type + "}";
sb.append("singleASN1Type: ").append(singleASN1Type);
return;
}
if (octetAligned != null) {
return "CHOICE{octetAligned: " + octetAligned + "}";
sb.append("octetAligned: ").append(octetAligned);
return;
}
if (arbitrary != null) {
return "CHOICE{arbitrary: " + arbitrary + "}";
sb.append("arbitrary: ").append(arbitrary);
return;
}
return "unknown";
sb.append("<none>");
}
}
@ -200,11 +216,11 @@ public class PDVList {
return presentationDataValues;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -281,30 +297,61 @@ public class PDVList {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{");
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
boolean firstSelectedElement = true;
if (transferSyntaxName != null) {
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("transferSyntaxName: ").append(transferSyntaxName);
firstSelectedElement = false;
}
if (!firstSelectedElement) {
sb.append(", ");
sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (presentationContextIdentifier != null) {
sb.append("presentationContextIdentifier: ").append(presentationContextIdentifier);
}
else {
sb.append("presentationContextIdentifier: <empty-required-field>");
}
sb.append("presentationContextIdentifier: ").append(presentationContextIdentifier);
sb.append(", ");
sb.append("presentationDataValues: ").append(presentationDataValues);
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (presentationDataValues != null) {
sb.append("presentationDataValues: ");
presentationDataValues.appendAsString(sb, indentLevel + 1);
}
else {
sb.append("presentationDataValues: <empty-required-field>");
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}

@ -1,11 +1,13 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
public class PresentationContextDefinitionList extends ContextList {
private static final long serialVersionUID = 1L;
public PresentationContextDefinitionList() {
}

@ -1,11 +1,13 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
public class PresentationContextDefinitionResultList extends ResultList {
private static final long serialVersionUID = 1L;
public PresentationContextDefinitionResultList() {
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
@ -10,6 +10,8 @@ import org.openmuc.jasn1.ber.types.BerInteger;
public class PresentationContextIdentifier extends BerInteger {
private static final long serialVersionUID = 1L;
public PresentationContextIdentifier() {
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerBitString;
public class PresentationRequirements extends BerBitString {
private static final long serialVersionUID = 1L;
public PresentationRequirements() {
}
@ -19,4 +21,8 @@ public class PresentationRequirements extends BerBitString {
super(value, numBits);
}
public PresentationRequirements(boolean[] value) {
super(value);
}
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerOctetString;
public class PresentationSelector extends BerOctetString {
private static final long serialVersionUID = 1L;
public PresentationSelector() {
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerBitString;
public class ProtocolVersion extends BerBitString {
private static final long serialVersionUID = 1L;
public ProtocolVersion() {
}
@ -19,4 +21,8 @@ public class ProtocolVersion extends BerBitString {
super(value, numBits);
}
public ProtocolVersion(boolean[] value) {
super(value);
}
}

@ -1,11 +1,13 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
public class RespondingPresentationSelector extends PresentationSelector {
private static final long serialVersionUID = 1L;
public RespondingPresentationSelector() {
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
@ -10,6 +10,8 @@ import org.openmuc.jasn1.ber.types.BerInteger;
public class Result extends BerInteger {
private static final long serialVersionUID = 1L;
public Result() {
}

@ -1,23 +1,29 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger;
public class ResultList {
public class ResultList implements Serializable {
public static class SEQUENCE {
private static final long serialVersionUID = 1L;
public static class SEQUENCE implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16);
@ -57,11 +63,11 @@ public class ResultList {
return providerReason;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -157,28 +163,53 @@ public class ResultList {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{");
sb.append("result: ").append(result);
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (result != null) {
sb.append("result: ").append(result);
}
else {
sb.append("result: <empty-required-field>");
}
if (transferSyntaxName != null) {
sb.append(", ");
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("transferSyntaxName: ").append(transferSyntaxName);
}
if (providerReason != null) {
sb.append(", ");
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("providerReason: ").append(providerReason);
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}
@ -202,11 +233,11 @@ public class ResultList {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -239,7 +270,6 @@ public class ResultList {
public int decode(InputStream is, boolean withTag) throws IOException {
int codeLength = 0;
int subCodeLength = 0;
BerTag berTag = new BerTag();
if (withTag) {
codeLength += tag.decodeAndCheck(is);
}
@ -264,31 +294,46 @@ public class ResultList {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE OF{");
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (seqOf == null) {
sb.append("null");
}
else {
Iterator<SEQUENCE> it = seqOf.iterator();
if (it.hasNext()) {
sb.append(it.next());
it.next().appendAsString(sb, indentLevel + 1);
while (it.hasNext()) {
sb.append(", ").append(it.next());
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
it.next().appendAsString(sb, indentLevel + 1);
}
}
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}");
return sb.toString();
}
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerOctetString;
public class SimplyEncodedData extends BerOctetString {
private static final long serialVersionUID = 1L;
public SimplyEncodedData() {
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
public class TransferSyntaxName extends BerObjectIdentifier {
private static final long serialVersionUID = 1L;
public TransferSyntaxName() {
}

@ -1,16 +1,20 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class UserData {
public class UserData implements Serializable {
private static final long serialVersionUID = 1L;
public byte[] code = null;
private SimplyEncodedData simplyEncodedData = null;
@ -39,7 +43,7 @@ public class UserData {
return fullyEncodedData;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -102,22 +106,32 @@ public class UserData {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
if (simplyEncodedData != null) {
return "CHOICE{simplyEncodedData: " + simplyEncodedData + "}";
sb.append("simplyEncodedData: ").append(simplyEncodedData);
return;
}
if (fullyEncodedData != null) {
return "CHOICE{fullyEncodedData: " + fullyEncodedData + "}";
sb.append("fullyEncodedData: ");
fullyEncodedData.appendAsString(sb, indentLevel + 1);
return;
}
return "unknown";
sb.append("<none>");
}
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerBitString;
public class UserSessionRequirements extends BerBitString {
private static final long serialVersionUID = 1L;
public UserSessionRequirements() {
}
@ -19,4 +21,8 @@ public class UserSessionRequirements extends BerBitString {
super(value, numBits);
}
public UserSessionRequirements(boolean[] value) {
super(value);
}
}

@ -1,15 +1,16 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class AccessResult implements Serializable {
@ -42,7 +43,7 @@ public class AccessResult implements Serializable {
return success;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -105,7 +106,7 @@ public class AccessResult implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,19 +1,20 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class AlternateAccess implements Serializable {
@ -41,7 +42,7 @@ public class AlternateAccess implements Serializable {
return unnamed;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -90,7 +91,7 @@ public class AlternateAccess implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@ -134,11 +135,11 @@ public class AlternateAccess implements Serializable {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -195,7 +196,7 @@ public class AlternateAccess implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerNull;
import org.openmuc.jasn1.ber.types.string.BerVisibleString;
@ -52,7 +53,7 @@ public class AlternateAccessSelection implements Serializable {
return basic;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -98,7 +99,7 @@ public class AlternateAccessSelection implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@ -155,11 +156,11 @@ public class AlternateAccessSelection implements Serializable {
return numberOfElements;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -234,7 +235,7 @@ public class AlternateAccessSelection implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -324,7 +325,7 @@ public class AlternateAccessSelection implements Serializable {
return allElements;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -420,7 +421,7 @@ public class AlternateAccessSelection implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@ -490,11 +491,11 @@ public class AlternateAccessSelection implements Serializable {
return alternateAccess;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -558,7 +559,7 @@ public class AlternateAccessSelection implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -634,7 +635,7 @@ public class AlternateAccessSelection implements Serializable {
return basic;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -680,7 +681,7 @@ public class AlternateAccessSelection implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@ -737,11 +738,11 @@ public class AlternateAccessSelection implements Serializable {
return numberOfElements;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -816,7 +817,7 @@ public class AlternateAccessSelection implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -906,7 +907,7 @@ public class AlternateAccessSelection implements Serializable {
return allElements;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -1002,7 +1003,7 @@ public class AlternateAccessSelection implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@ -1069,7 +1070,7 @@ public class AlternateAccessSelection implements Serializable {
return selectAccess;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -1132,7 +1133,7 @@ public class AlternateAccessSelection implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class ConfirmedErrorPDU implements Serializable {
@ -54,11 +55,11 @@ public class ConfirmedErrorPDU implements Serializable {
return serviceError;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -146,7 +147,7 @@ public class ConfirmedErrorPDU implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger;
public class ConfirmedRequestPDU implements Serializable {
@ -46,11 +47,11 @@ public class ConfirmedRequestPDU implements Serializable {
return service;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -117,7 +118,7 @@ public class ConfirmedRequestPDU implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger;
public class ConfirmedResponsePDU implements Serializable {
@ -46,11 +47,11 @@ public class ConfirmedResponsePDU implements Serializable {
return service;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -117,7 +118,7 @@ public class ConfirmedResponsePDU implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class ConfirmedServiceRequest implements Serializable {
@ -89,7 +90,7 @@ public class ConfirmedServiceRequest implements Serializable {
return deleteNamedVariableList;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -230,7 +231,7 @@ public class ConfirmedServiceRequest implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,15 +1,16 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class ConfirmedServiceResponse implements Serializable {
@ -88,7 +89,7 @@ public class ConfirmedServiceResponse implements Serializable {
return deleteNamedVariableList;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -221,7 +222,7 @@ public class ConfirmedServiceResponse implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,19 +1,20 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.BerBoolean;
import org.openmuc.jasn1.ber.types.BerInteger;
@ -49,11 +50,11 @@ public class Data implements Serializable {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -110,7 +111,7 @@ public class Data implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -177,11 +178,11 @@ public class Data implements Serializable {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -238,7 +239,7 @@ public class Data implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -398,7 +399,7 @@ public class Data implements Serializable {
return utcTime;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -601,7 +602,7 @@ public class Data implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class DefineNamedVariableListRequest implements Serializable {
@ -45,11 +46,11 @@ public class DefineNamedVariableListRequest implements Serializable {
return listOfVariable;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -116,7 +117,7 @@ public class DefineNamedVariableListRequest implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,19 +1,20 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger;
import org.openmuc.jasn1.ber.types.string.BerVisibleString;
@ -44,11 +45,11 @@ public class DeleteNamedVariableListRequest implements Serializable {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -105,7 +106,7 @@ public class DeleteNamedVariableListRequest implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -171,7 +172,7 @@ public class DeleteNamedVariableListRequest implements Serializable {
return basic;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -217,7 +218,7 @@ public class DeleteNamedVariableListRequest implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@ -279,11 +280,11 @@ public class DeleteNamedVariableListRequest implements Serializable {
return domainName;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -386,7 +387,7 @@ public class DeleteNamedVariableListRequest implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class DeleteNamedVariableListResponse implements Serializable {
@ -45,11 +46,11 @@ public class DeleteNamedVariableListResponse implements Serializable {
return numberDeleted;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -124,7 +125,7 @@ public class DeleteNamedVariableListResponse implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerNull;
public class GetNameListRequest implements Serializable {
@ -57,7 +58,7 @@ public class GetNameListRequest implements Serializable {
return aaSpecific;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -134,7 +135,7 @@ public class GetNameListRequest implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@ -206,11 +207,11 @@ public class GetNameListRequest implements Serializable {
return continueAfter;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -312,7 +313,7 @@ public class GetNameListRequest implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,19 +1,20 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBoolean;
public class GetNameListResponse implements Serializable {
@ -43,11 +44,11 @@ public class GetNameListResponse implements Serializable {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -104,7 +105,7 @@ public class GetNameListResponse implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -177,11 +178,11 @@ public class GetNameListResponse implements Serializable {
return moreFollows;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -261,7 +262,7 @@ public class GetNameListResponse implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBoolean;
public class GetNamedVariableListAttributesResponse implements Serializable {
@ -46,11 +47,11 @@ public class GetNamedVariableListAttributesResponse implements Serializable {
return listOfVariable;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -125,7 +126,7 @@ public class GetNamedVariableListAttributesResponse implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class GetVariableAccessAttributesRequest implements Serializable {
@ -34,7 +35,7 @@ public class GetVariableAccessAttributesRequest implements Serializable {
return name;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -88,7 +89,7 @@ public class GetVariableAccessAttributesRequest implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBoolean;
public class GetVariableAccessAttributesResponse implements Serializable {
@ -46,11 +47,11 @@ public class GetVariableAccessAttributesResponse implements Serializable {
return typeDescription;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -130,7 +131,7 @@ public class GetVariableAccessAttributesResponse implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,19 +1,20 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class InformationReport implements Serializable {
@ -42,11 +43,11 @@ public class InformationReport implements Serializable {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -103,7 +104,7 @@ public class InformationReport implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -176,11 +177,11 @@ public class InformationReport implements Serializable {
return listOfAccessResult;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -247,7 +248,7 @@ public class InformationReport implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class InitiateRequestPDU implements Serializable {
@ -58,11 +59,11 @@ public class InitiateRequestPDU implements Serializable {
return servicesSupportedCalling;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -151,7 +152,7 @@ public class InitiateRequestPDU implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -264,11 +265,11 @@ public class InitiateRequestPDU implements Serializable {
return initRequestDetail;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -383,7 +384,7 @@ public class InitiateRequestPDU implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class InitiateResponsePDU implements Serializable {
@ -58,11 +59,11 @@ public class InitiateResponsePDU implements Serializable {
return servicesSupportedCalled;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -151,7 +152,7 @@ public class InitiateResponsePDU implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -264,11 +265,11 @@ public class InitiateResponsePDU implements Serializable {
return initResponseDetail;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -383,7 +384,7 @@ public class InitiateResponsePDU implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,15 +1,16 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class MMSpdu implements Serializable {
@ -105,7 +106,7 @@ public class MMSpdu implements Serializable {
return concludeRequestPDU;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -266,7 +267,7 @@ public class MMSpdu implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,15 +1,16 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger;
public class ObjectClass implements Serializable {
@ -34,7 +35,7 @@ public class ObjectClass implements Serializable {
return basicObjectClass;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -83,7 +84,7 @@ public class ObjectClass implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.string.BerVisibleString;
public class ObjectName implements Serializable {
@ -52,11 +53,11 @@ public class ObjectName implements Serializable {
return itemID;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -125,7 +126,7 @@ public class ObjectName implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -206,7 +207,7 @@ public class ObjectName implements Serializable {
return aaSpecific;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -283,7 +284,7 @@ public class ObjectName implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
@ -21,4 +21,8 @@ public class ParameterSupportOptions extends BerBitString {
super(value, numBits);
}
public ParameterSupportOptions(boolean[] value) {
super(value);
}
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBoolean;
public class ReadRequest implements Serializable {
@ -46,11 +47,11 @@ public class ReadRequest implements Serializable {
return variableAccessSpecification;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -129,7 +130,7 @@ public class ReadRequest implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,19 +1,20 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class ReadResponse implements Serializable {
@ -42,11 +43,11 @@ public class ReadResponse implements Serializable {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -103,7 +104,7 @@ public class ReadResponse implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -176,11 +177,11 @@ public class ReadResponse implements Serializable {
return listOfAccessResult;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -259,7 +260,7 @@ public class ReadResponse implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger;
public class RejectPDU implements Serializable {
@ -129,7 +130,7 @@ public class RejectPDU implements Serializable {
return concludeErrorPDU;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -318,7 +319,7 @@ public class RejectPDU implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@ -421,11 +422,11 @@ public class RejectPDU implements Serializable {
return rejectReason;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -494,7 +495,7 @@ public class RejectPDU implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger;
import org.openmuc.jasn1.ber.types.string.BerVisibleString;
@ -148,7 +149,7 @@ public class ServiceError implements Serializable {
return others;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -365,7 +366,7 @@ public class ServiceError implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}
@ -487,11 +488,11 @@ public class ServiceError implements Serializable {
return additionalDescription;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -592,7 +593,7 @@ public class ServiceError implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
@ -21,4 +21,8 @@ public class ServiceSupportOptions extends BerBitString {
super(value, numBits);
}
public ServiceSupportOptions(boolean[] value) {
super(value);
}
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,19 +1,20 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBoolean;
import org.openmuc.jasn1.ber.types.BerInteger;
import org.openmuc.jasn1.ber.types.BerNull;
@ -66,11 +67,11 @@ public class TypeDescription implements Serializable {
return elementType;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -163,7 +164,7 @@ public class TypeDescription implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -263,11 +264,11 @@ public class TypeDescription implements Serializable {
return componentType;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -346,7 +347,7 @@ public class TypeDescription implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -413,11 +414,11 @@ public class TypeDescription implements Serializable {
return seqOf;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -474,7 +475,7 @@ public class TypeDescription implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -547,11 +548,11 @@ public class TypeDescription implements Serializable {
return components;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -625,7 +626,7 @@ public class TypeDescription implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -706,11 +707,11 @@ public class TypeDescription implements Serializable {
return exponentWidth;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -779,7 +780,7 @@ public class TypeDescription implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}
@ -941,7 +942,7 @@ public class TypeDescription implements Serializable {
return utcTime;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -1144,7 +1145,7 @@ public class TypeDescription implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,15 +1,16 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class TypeSpecification implements Serializable {
@ -33,7 +34,7 @@ public class TypeSpecification implements Serializable {
return typeDescription;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -82,7 +83,7 @@ public class TypeSpecification implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,16 +1,17 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class UnconfirmedPDU implements Serializable {
@ -36,11 +37,11 @@ public class UnconfirmedPDU implements Serializable {
return service;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
return encode(os, true);
}
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException {
public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -96,7 +97,7 @@ public class UnconfirmedPDU implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false);
code = os.getArray();
}

@ -1,15 +1,16 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class UnconfirmedService implements Serializable {
@ -33,7 +34,7 @@ public class UnconfirmedService implements Serializable {
return informationReport;
}
public int encode(BerByteArrayOutputStream os) throws IOException {
public int encode(OutputStream os) throws IOException {
if (code != null) {
for (int i = code.length - 1; i >= 0; i--) {
@ -82,7 +83,7 @@ public class UnconfirmedService implements Serializable {
}
public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess);
ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os);
code = os.getArray();
}

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,5 +1,5 @@
/**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org)
* This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/
package org.openmuc.openiec61850.internal.mms.asn1;

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

Loading…
Cancel
Save