org.openmuc.jsml.structures
Class ImplicitChoice
java.lang.Object
org.openmuc.jsml.structures.ASNObject
org.openmuc.jsml.structures.ImplicitChoice
- Direct Known Subclasses:
- SML_Status, SML_Value
public abstract class ImplicitChoice
- extends ASNObject
Method Summary |
void |
code(DataOutputStream os)
encodes this object and writes it to the stream os. |
boolean |
decode(DataInputStream is)
decodes the data from the InputStream and writes it to an object |
ASNObject |
getChoice()
|
void |
print()
General print method, which prints the classname of derived classes and
the print method of choice |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OctetString
public static final int OctetString
- See Also:
- Constant Field Values
SML_Boolean
public static final int SML_Boolean
- See Also:
- Constant Field Values
Integer
public static final int Integer
- See Also:
- Constant Field Values
Unsigned
public static final int Unsigned
- See Also:
- Constant Field Values
TL_Field
public static final int TL_Field
- See Also:
- Constant Field Values
choice
protected ASNObject choice
ImplicitChoice
public ImplicitChoice()
code
public void code(DataOutputStream os)
throws IOException
- Description copied from class:
ASNObject
- encodes this object and writes it to the stream os.
- Specified by:
code
in class ASNObject
- Throws:
IOException
- if something went wrong while writing to the stream
decode
public boolean decode(DataInputStream is)
throws IOException
- Description copied from class:
ASNObject
- decodes the data from the InputStream and writes it to an object
- Specified by:
decode
in class ASNObject
- Returns:
- true if successfully decoded
- Throws:
IOException
- if something went wrong while reading from the stream
getChoice
public ASNObject getChoice()
print
public void print()
- General print method, which prints the classname of derived classes and
the print method of choice
- Specified by:
print
in class ASNObject
Copyright © 2011. All Rights Reserved.