org.openmuc.jsml.structures
Class SML_Time

java.lang.Object
  extended by org.openmuc.jsml.structures.ASNObject
      extended by org.openmuc.jsml.structures.Choice
          extended by org.openmuc.jsml.structures.SML_Time

public class SML_Time
extends Choice


Field Summary
static int SECINDEX
           
static int TIMESTAMP
           
 
Fields inherited from class org.openmuc.jsml.structures.Choice
choice, tag
 
Fields inherited from class org.openmuc.jsml.structures.ASNObject
isOptional, isSelected
 
Constructor Summary
SML_Time()
           
SML_Time(int tag, ASNObject choice)
           
 
Method Summary
 boolean decode(java.io.DataInputStream is)
          decodes the data from the InputStream and writes it to an object
 void setTime(int tag, ASNObject choice)
           
 
Methods inherited from class org.openmuc.jsml.structures.Choice
code, getChoice, getTag, print
 
Methods inherited from class org.openmuc.jsml.structures.ASNObject
isOptional, isSelected, setOptional, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SECINDEX

public static final int SECINDEX
See Also:
Constant Field Values

TIMESTAMP

public static final int TIMESTAMP
See Also:
Constant Field Values
Constructor Detail

SML_Time

public SML_Time(int tag,
                ASNObject choice)

SML_Time

public SML_Time()
Method Detail

setTime

public void setTime(int tag,
                    ASNObject choice)

decode

public boolean decode(java.io.DataInputStream is)
               throws java.io.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:
java.io.IOException - if something went wrong while reading from the stream


Copyright © 2011. All Rights Reserved.