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

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

public class CPA_PPDU
extends java.lang.Object


Nested Class Summary
static class CPA_PPDU.SubSeq_normal_mode_parameters
           
 
Field Summary
 byte[] code
           
protected  org.openmuc.jasn1.ber.BerIdentifier id
           
static org.openmuc.jasn1.ber.BerIdentifier identifier
           
 Mode_selector mode_selector
           
 CPA_PPDU.SubSeq_normal_mode_parameters normal_mode_parameters
           
 
Constructor Summary
CPA_PPDU()
           
CPA_PPDU(byte[] code)
           
CPA_PPDU(Mode_selector mode_selector, CPA_PPDU.SubSeq_normal_mode_parameters normal_mode_parameters)
           
 
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_selector

public Mode_selector mode_selector

normal_mode_parameters

public CPA_PPDU.SubSeq_normal_mode_parameters normal_mode_parameters
Constructor Detail

CPA_PPDU

public CPA_PPDU()

CPA_PPDU

public CPA_PPDU(byte[] code)

CPA_PPDU

public CPA_PPDU(Mode_selector mode_selector,
                CPA_PPDU.SubSeq_normal_mode_parameters normal_mode_parameters)
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