org.openmuc.jsml.structures
Class Unsigned64

java.lang.Object
  extended by org.openmuc.jsml.structures.ASNObject
      extended by org.openmuc.jsml.structures.Unsigned64

public class Unsigned64
extends ASNObject


Field Summary
protected  long val
           
 
Fields inherited from class org.openmuc.jsml.structures.ASNObject
isOptional, isSelected
 
Constructor Summary
Unsigned64()
           
Unsigned64(long i)
           
 
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
 long getVal()
           
 void print()
          prints the content or type of the object to stdout
 void setVal(long i)
           
 
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

val

protected long val
Constructor Detail

Unsigned64

public Unsigned64(long i)

Unsigned64

public Unsigned64()
Method Detail

getVal

public long getVal()

setVal

public void setVal(long i)

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

print

public void print()
Description copied from class: ASNObject
prints the content or type of the object to stdout

Specified by:
print in class ASNObject


Copyright © 2011. All Rights Reserved.