org.openmuc.jsml.structures
Class SML_MessageBody

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

public class SML_MessageBody
extends ASNObject


Field Summary
static int AttentionResponse
           
protected  ASNObject choice
           
static int CloseRequest
           
static int CloseResponse
           
static int GetListRequest
           
static int GetListResponse
           
static int GetProcParameterRequest
           
static int GetProcParameterResponse
           
static int GetProfileListRequest
           
static int GetProfileListResponse
           
static int GetProfilePackRequest
           
static int GetProfilePackResponse
           
static int OpenRequest
           
static int OpenResponse
           
static int SetProcParameterRequest
           
static int SetProcParameterResponse
           
protected  Unsigned32 tag
           
 
Fields inherited from class org.openmuc.jsml.structures.ASNObject
isOptional, isSelected
 
Constructor Summary
SML_MessageBody()
           
SML_MessageBody(int tag, ASNObject choice)
           
 
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()
           
 Unsigned32 getTag()
           
 void print()
          prints the content or type of the object to stdout
 
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

OpenRequest

public static final int OpenRequest
See Also:
Constant Field Values

OpenResponse

public static final int OpenResponse
See Also:
Constant Field Values

CloseRequest

public static final int CloseRequest
See Also:
Constant Field Values

CloseResponse

public static final int CloseResponse
See Also:
Constant Field Values

GetProfilePackRequest

public static final int GetProfilePackRequest
See Also:
Constant Field Values

GetProfilePackResponse

public static final int GetProfilePackResponse
See Also:
Constant Field Values

GetProfileListRequest

public static final int GetProfileListRequest
See Also:
Constant Field Values

GetProfileListResponse

public static final int GetProfileListResponse
See Also:
Constant Field Values

GetProcParameterRequest

public static final int GetProcParameterRequest
See Also:
Constant Field Values

GetProcParameterResponse

public static final int GetProcParameterResponse
See Also:
Constant Field Values

SetProcParameterRequest

public static final int SetProcParameterRequest
See Also:
Constant Field Values

SetProcParameterResponse

public static final int SetProcParameterResponse
See Also:
Constant Field Values

GetListRequest

public static final int GetListRequest
See Also:
Constant Field Values

GetListResponse

public static final int GetListResponse
See Also:
Constant Field Values

AttentionResponse

public static final int AttentionResponse
See Also:
Constant Field Values

tag

protected Unsigned32 tag

choice

protected ASNObject choice
Constructor Detail

SML_MessageBody

public SML_MessageBody(int tag,
                       ASNObject choice)

SML_MessageBody

public SML_MessageBody()
Method Detail

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

getTag

public Unsigned32 getTag()

getChoice

public ASNObject getChoice()

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.