org.openiec61850.jmms.iso.presentation.asn1
Class Mode_selector

java.lang.Object
  extended by org.openiec61850.jmms.iso.presentation.asn1.Mode_selector

public class Mode_selector
extends java.lang.Object


Field Summary
 byte[] code
           
protected  org.openmuc.jasn1.ber.BerIdentifier id
           
static org.openmuc.jasn1.ber.BerIdentifier identifier
           
 org.openmuc.jasn1.ber.types.BerInteger mode_value
           
 
Constructor Summary
Mode_selector()
           
Mode_selector(org.openmuc.jasn1.ber.types.BerInteger mode_value)
           
Mode_selector(byte[] code)
           
 
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

mode_value

public org.openmuc.jasn1.ber.types.BerInteger mode_value
Constructor Detail

Mode_selector

public Mode_selector()

Mode_selector

public Mode_selector(byte[] code)

Mode_selector

public Mode_selector(org.openmuc.jasn1.ber.types.BerInteger mode_value)
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