org.openiec61850.jmms.mms.asn1
Class ServiceError

java.lang.Object
  extended by org.openiec61850.jmms.mms.asn1.ServiceError

public class ServiceError
extends java.lang.Object


Nested Class Summary
static class ServiceError.SubChoice_errorClass
           
 
Field Summary
 org.openmuc.jasn1.ber.types.BerInteger additionalCode
           
 org.openmuc.jasn1.ber.types.string.BerVisibleString additionalDescription
           
 byte[] code
           
 ServiceError.SubChoice_errorClass errorClass
           
protected  org.openmuc.jasn1.ber.BerIdentifier id
           
static org.openmuc.jasn1.ber.BerIdentifier identifier
           
 
Constructor Summary
ServiceError()
           
ServiceError(byte[] code)
           
ServiceError(ServiceError.SubChoice_errorClass errorClass, org.openmuc.jasn1.ber.types.BerInteger additionalCode, org.openmuc.jasn1.ber.types.string.BerVisibleString additionalDescription)
           
 
Method Summary
 int decode(java.io.InputStream iStream, boolean explicit)
           
 int encode(org.openmuc.jasn1.ber.BerByteArrayOutputStream berOStream, boolean explicit)
           
 void encodeAndSave(int encodingSizeGuess)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

identifier

public static final org.openmuc.jasn1.ber.BerIdentifier identifier

id

protected org.openmuc.jasn1.ber.BerIdentifier id

code

public byte[] code

errorClass

public ServiceError.SubChoice_errorClass errorClass

additionalCode

public org.openmuc.jasn1.ber.types.BerInteger additionalCode

additionalDescription

public org.openmuc.jasn1.ber.types.string.BerVisibleString additionalDescription
Constructor Detail

ServiceError

public ServiceError()

ServiceError

public ServiceError(byte[] code)

ServiceError

public ServiceError(ServiceError.SubChoice_errorClass errorClass,
                    org.openmuc.jasn1.ber.types.BerInteger additionalCode,
                    org.openmuc.jasn1.ber.types.string.BerVisibleString additionalDescription)
Method Detail

encode

public int encode(org.openmuc.jasn1.ber.BerByteArrayOutputStream berOStream,
                  boolean explicit)
           throws java.io.IOException
Throws:
java.io.IOException

decode

public int decode(java.io.InputStream iStream,
                  boolean explicit)
           throws java.io.IOException
Throws:
java.io.IOException

encodeAndSave

public void encodeAndSave(int encodingSizeGuess)
                   throws java.io.IOException
Throws:
java.io.IOException